aboutsummaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
Diffstat (limited to 'engine')
-rw-r--r--engine/classes/ElggMenuItem.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/classes/ElggMenuItem.php b/engine/classes/ElggMenuItem.php
index 3d512a08c..98a3d7d24 100644
--- a/engine/classes/ElggMenuItem.php
+++ b/engine/classes/ElggMenuItem.php
@@ -445,7 +445,7 @@ class ElggMenuItem {
*/
public function getContent(array $vars = array()) {
- if ($this->href === false || $this->href === null) {
+ if ($this->href === false) {
return $this->text;
}