aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-08-17 19:57:19 +0000
committerben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-08-17 19:57:19 +0000
commitec6d14b8588fb4026d9bd287a9412239dbea7867 (patch)
tree3e056b92e05e73230f98687d4bf7260de9dadfc5
parent99b78cf5a15c354be185e449663740250f45dcef (diff)
downloadelgg-ec6d14b8588fb4026d9bd287a9412239dbea7867.tar.gz
elgg-ec6d14b8588fb4026d9bd287a9412239dbea7867.tar.bz2
Submenu items are now sorted.
git-svn-id: https://code.elgg.org/elgg/trunk@1992 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r--engine/lib/elgglib.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/engine/lib/elgglib.php b/engine/lib/elgglib.php
index cc89c02d6..1c80c03a3 100644
--- a/engine/lib/elgglib.php
+++ b/engine/lib/elgglib.php
@@ -553,7 +553,8 @@
$comparevals = array();
$maxcompareval = 999999;
- asort($CONFIG->submenu);
+ //asort($submenu_register);
+ ksort($submenu_register);
foreach($submenu_register as $groupname => $submenu_register_group) {