aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/upgrades/create_upgrade.php
diff options
context:
space:
mode:
Diffstat (limited to 'engine/lib/upgrades/create_upgrade.php')
-rw-r--r--engine/lib/upgrades/create_upgrade.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/lib/upgrades/create_upgrade.php b/engine/lib/upgrades/create_upgrade.php
index f0fa9b594..b34f31b7e 100644
--- a/engine/lib/upgrades/create_upgrade.php
+++ b/engine/lib/upgrades/create_upgrade.php
@@ -128,7 +128,7 @@ function elgg_set_version_dot_php_version($version) {
rewind($h);
- fputs($h, $out);
+ fwrite($h, $out);
fclose($h);
return true;
}