aboutsummaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
Diffstat (limited to 'engine')
-rw-r--r--engine/lib/version.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/lib/version.php b/engine/lib/version.php
index 84c291424..27f730c33 100644
--- a/engine/lib/version.php
+++ b/engine/lib/version.php
@@ -71,7 +71,7 @@ function upgrade_code($version, $quiet = FALSE) {
}
// Sort and execute
- ksort($upgrades);
+ sort($upgrades);
foreach ($upgrades as $upgrade) {
$upgrade_version = elgg_get_upgrade_file_version($upgrade);