From: brettp Date: Sun, 20 Mar 2011 21:28:54 +0000 (+0000) Subject: Fixes #3188. We no longer store the version as the key, so a standard sort will do. X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=654daef7471f148ce24d9469c87ee34f6ccd6a45;p=lorea%2Felgg.git Fixes #3188. We no longer store the version as the key, so a standard sort will do. git-svn-id: http://code.elgg.org/elgg/trunk@8787 36083f99-b078-4883-b0ff-0f9b5a30f544 --- 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);