aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2011-09-18 14:20:03 -0400
committerCash Costello <cash.costello@gmail.com>2011-09-18 14:20:03 -0400
commit4900853196f83a902a2acac11ae1bd4813bcb3fc (patch)
tree729403d064407e58ffb94cf0c01fd3471f4d44e0
parent9af2f5496a5a0a76639ca56e931e7aee0e02c50c (diff)
downloadelgg-4900853196f83a902a2acac11ae1bd4813bcb3fc.tar.gz
elgg-4900853196f83a902a2acac11ae1bd4813bcb3fc.tar.bz2
Fixes #3786 menu code was corrupting link class if an additional class was passed through getContent()
-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 f7a6b5c65..b9c81fd78 100644
--- a/engine/classes/ElggMenuItem.php
+++ b/engine/classes/ElggMenuItem.php
@@ -543,7 +543,7 @@ class ElggMenuItem {
if ($this->data['linkClass']) {
if (isset($vars['class'])) {
- $vars['class'] += $this->getLinkClass();
+ $vars['class'] = $vars['class'] . ' ' . $this->getLinkClass();
} else {
$vars['class'] = $this->getLinkClass();
}