From df9d347e7d5a316a7f5c85ba284ea68c26fe6d2c Mon Sep 17 00:00:00 2001 From: cash Date: Fri, 1 Apr 2011 11:26:53 +0000 Subject: Refs #3287 setting null for menu href means you want an empty tag with no href git-svn-id: http://code.elgg.org/elgg/trunk@8894 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/classes/ElggMenuItem.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engine') 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; } -- cgit v1.2.3