diff options
Diffstat (limited to 'engine')
-rw-r--r-- | engine/classes/ElggMenuBuilder.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/classes/ElggMenuBuilder.php b/engine/classes/ElggMenuBuilder.php index dcf147d19..90ce4eb68 100644 --- a/engine/classes/ElggMenuBuilder.php +++ b/engine/classes/ElggMenuBuilder.php @@ -28,7 +28,7 @@ class ElggMenuBuilder { * @param mixed $sort_by * @return array */ - public function getMenu($sort_by) { + public function getMenu($sort_by = 'text') { $this->selectFromContext(); |