aboutsummaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-03-16 10:57:40 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-03-16 10:57:40 +0000
commit8fb1564ff9c1faab6dd9792ed350abd499f02e4e (patch)
tree9ac94725853d4a40696ac2f32f2c5167e89febaa /engine
parent0c4dabd0c92b7663808674e8b17e17e71a506282 (diff)
downloadelgg-8fb1564ff9c1faab6dd9792ed350abd499f02e4e.tar.gz
elgg-8fb1564ff9c1faab6dd9792ed350abd499f02e4e.tar.bz2
Fixes #3145 adds a default for menu sort_by
git-svn-id: http://code.elgg.org/elgg/trunk@8733 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine')
-rw-r--r--engine/classes/ElggMenuBuilder.php2
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();