diff options
Diffstat (limited to 'engine/classes')
-rw-r--r-- | engine/classes/ElggMenuItem.php | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/engine/classes/ElggMenuItem.php b/engine/classes/ElggMenuItem.php index 3ba76f246..784b5670f 100644 --- a/engine/classes/ElggMenuItem.php +++ b/engine/classes/ElggMenuItem.php @@ -416,15 +416,22 @@ class ElggMenuItem { } $vars['text'] = $this->text; + if ($this->href) { $vars['href'] = $this->href; } + if ($this->linkClass) { $vars['class'] = $this->linkClass; } + if ($this->title) { $vars['title'] = $this->title; } + + if ($this->is_action) { + $vars['is_action'] = $this->is_action; + } return elgg_view('output/url', $vars); } |