diff options
author | Cash Costello <cash.costello@gmail.com> | 2011-09-18 14:20:03 -0400 |
---|---|---|
committer | Cash Costello <cash.costello@gmail.com> | 2011-09-18 14:20:03 -0400 |
commit | 4900853196f83a902a2acac11ae1bd4813bcb3fc (patch) | |
tree | 729403d064407e58ffb94cf0c01fd3471f4d44e0 /engine | |
parent | 9af2f5496a5a0a76639ca56e931e7aee0e02c50c (diff) | |
download | elgg-4900853196f83a902a2acac11ae1bd4813bcb3fc.tar.gz elgg-4900853196f83a902a2acac11ae1bd4813bcb3fc.tar.bz2 |
Fixes #3786 menu code was corrupting link class if an additional class was passed through getContent()
Diffstat (limited to 'engine')
-rw-r--r-- | engine/classes/ElggMenuItem.php | 2 |
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(); } |