aboutsummaryrefslogtreecommitdiff
path: root/engine/classes
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-04-01 11:26:53 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-04-01 11:26:53 +0000
commitdf9d347e7d5a316a7f5c85ba284ea68c26fe6d2c (patch)
tree6ef8da78ba7418f20d0538940f8a7a883d256d88 /engine/classes
parent449e23627daad8ce032411d899bd8f71db824d21 (diff)
downloadelgg-df9d347e7d5a316a7f5c85ba284ea68c26fe6d2c.tar.gz
elgg-df9d347e7d5a316a7f5c85ba284ea68c26fe6d2c.tar.bz2
Refs #3287 setting null for menu href means you want an empty <a></a> tag with no href
git-svn-id: http://code.elgg.org/elgg/trunk@8894 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/classes')
-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;
}