diff options
| author | Brett Profitt <brett.profitt@gmail.com> | 2011-04-18 19:54:17 -0400 | 
|---|---|---|
| committer | Brett Profitt <brett.profitt@gmail.com> | 2011-04-18 19:54:17 -0400 | 
| commit | 0d9c5c1ccd66018a819b4ca327ab203f473e35dc (patch) | |
| tree | f55e5caa8bf8036b02fc553eecd2b615791d2ce5 /engine/classes/ElggMenuItem.php | |
| parent | ca63a6b81eee1dfbee99a393a790402475a4612c (diff) | |
| parent | d928588805375e7190ab393e2def555b39701a27 (diff) | |
| download | elgg-0d9c5c1ccd66018a819b4ca327ab203f473e35dc.tar.gz elgg-0d9c5c1ccd66018a819b4ca327ab203f473e35dc.tar.bz2 | |
Merge branch 'master' of github.com:Elgg/Elgg
Diffstat (limited to 'engine/classes/ElggMenuItem.php')
| -rw-r--r-- | engine/classes/ElggMenuItem.php | 8 | 
1 files changed, 4 insertions, 4 deletions
| diff --git a/engine/classes/ElggMenuItem.php b/engine/classes/ElggMenuItem.php index bf6cf2edc..61dbf539e 100644 --- a/engine/classes/ElggMenuItem.php +++ b/engine/classes/ElggMenuItem.php @@ -123,9 +123,9 @@ class ElggMenuItem {  			unset($options['context']);  		} -		if (isset($options['class'])) { -			$item->setLinkClass($options['class']); -			unset($options['class']); +		if (isset($options['link_class'])) { +			$item->setLinkClass($options['link_class']); +			unset($options['link_class']);  		}  		if (isset($options['item_class'])) { @@ -459,7 +459,7 @@ class ElggMenuItem {  		if ($this->href) {  			$vars['href'] = $this->href;  		} -		 +  		if ($this->linkClass) {  			$vars['class'] = $this->getLinkClass();  		} | 
