aboutsummaryrefslogtreecommitdiff
path: root/engine/classes/ElggMenuItem.php
diff options
context:
space:
mode:
authorBrett Profitt <brett.profitt@gmail.com>2011-04-18 19:54:17 -0400
committerBrett Profitt <brett.profitt@gmail.com>2011-04-18 19:54:17 -0400
commit0d9c5c1ccd66018a819b4ca327ab203f473e35dc (patch)
treef55e5caa8bf8036b02fc553eecd2b615791d2ce5 /engine/classes/ElggMenuItem.php
parentca63a6b81eee1dfbee99a393a790402475a4612c (diff)
parentd928588805375e7190ab393e2def555b39701a27 (diff)
downloadelgg-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.php8
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();
}