From 654daef7471f148ce24d9469c87ee34f6ccd6a45 Mon Sep 17 00:00:00 2001 From: brettp Date: Sun, 20 Mar 2011 21:28:54 +0000 Subject: 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 --- engine/lib/version.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engine/lib') 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); -- cgit v1.2.3