aboutsummaryrefslogtreecommitdiff
path: root/engine/classes
diff options
context:
space:
mode:
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: