summaryrefslogtreecommitdiff
path: root/library/WT/Menu.php
diff options
context:
space:
mode:
authorGreg Roach <fisharebest@gmail.com>2015-01-28 15:25:15 +0000
committerGreg Roach <fisharebest@gmail.com>2015-01-28 15:25:15 +0000
commite3a302b5cc28fc5158a490eedb8aa74736458c14 (patch)
tree5409fa689e2b70c75a2842f53074e333222caeb0 /library/WT/Menu.php
parent3c3c186f4c4a505cce4f0849a9508abf0fb3ba91 (diff)
downloadwebtrees-e3a302b5cc28fc5158a490eedb8aa74736458c14.tar.gz
webtrees-e3a302b5cc28fc5158a490eedb8aa74736458c14.tar.bz2
webtrees-e3a302b5cc28fc5158a490eedb8aa74736458c14.zip
Palette not highlighted in colors theme
Diffstat (limited to 'library/WT/Menu.php')
-rw-r--r--library/WT/Menu.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/WT/Menu.php b/library/WT/Menu.php
index 689bf2aae2..20a40da1eb 100644
--- a/library/WT/Menu.php
+++ b/library/WT/Menu.php
@@ -273,8 +273,8 @@ class WT_Menu {
* @return string
*/
public function getMenuAsList() {
- if ($this->class) {
- $class = ' class="' . $this->class . '"';
+ if ($this->iconclass) {
+ $class = ' class="' . $this->iconclass . '"';
} else {
$class = '';
}