]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
Refs #3287 setting null for menu href means you want an empty <a></a> tag with no...
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>
Fri, 1 Apr 2011 11:26:53 +0000 (11:26 +0000)
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>
Fri, 1 Apr 2011 11:26:53 +0000 (11:26 +0000)
git-svn-id: http://code.elgg.org/elgg/trunk@8894 36083f99-b078-4883-b0ff-0f9b5a30f544

engine/classes/ElggMenuItem.php

index 3d512a08c6c955dc6d6dedfbd379825708a1d382..98a3d7d24071635f5b3ee7d8a8b197352bc495a0 100644 (file)
@@ -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;
                }