aboutsummaryrefslogtreecommitdiff
path: root/engine/classes
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-03-26 22:06:28 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-03-26 22:06:28 +0000
commitc80487eb37d735f83e25c5cb86e504e2e4b66b76 (patch)
tree2c3b73708aab43b0e66f308adab080cf79d5dcd4 /engine/classes
parentc91d28a163e75bdea02a9ddbc19649b06654da0d (diff)
downloadelgg-c80487eb37d735f83e25c5cb86e504e2e4b66b76.tar.gz
elgg-c80487eb37d735f83e25c5cb86e504e2e4b66b76.tar.bz2
Fixes #3026 documentation for menu system
git-svn-id: http://code.elgg.org/elgg/trunk@8857 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/classes')
-rw-r--r--engine/classes/ElggMenuBuilder.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/classes/ElggMenuBuilder.php b/engine/classes/ElggMenuBuilder.php
index 90ce4eb68..cadfee7f5 100644
--- a/engine/classes/ElggMenuBuilder.php
+++ b/engine/classes/ElggMenuBuilder.php
@@ -189,8 +189,8 @@ class ElggMenuBuilder {
case 'priority':
$sort_callback = array('ElggMenuBuilder', 'compareByWeight');
break;
- case 'order':
- // use registration order
+ case 'register':
+ // use registration order - usort breaks this
return;
break;
default: