diff options
| author | Greg Roach <fisharebest@gmail.com> | 2015-03-24 11:49:06 +0000 |
|---|---|---|
| committer | Greg Roach <fisharebest@gmail.com> | 2015-03-24 11:49:06 +0000 |
| commit | 794c6b5bab6a53026b81af1c5dd73b8d9e74d406 (patch) | |
| tree | 31658aebcc05b03e41557a2a3a3ad32ad9982e3f /themes | |
| parent | 3d0a6fa104c785a847746348b8ca40fdd4474e89 (diff) | |
| download | webtrees-794c6b5bab6a53026b81af1c5dd73b8d9e74d406.tar.gz webtrees-794c6b5bab6a53026b81af1c5dd73b8d9e74d406.tar.bz2 webtrees-794c6b5bab6a53026b81af1c5dd73b8d9e74d406.zip | |
Fix tests
Diffstat (limited to 'themes')
| -rw-r--r-- | themes/_custom/theme.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/themes/_custom/theme.php b/themes/_custom/theme.php index 92dac27357..a02f65df75 100644 --- a/themes/_custom/theme.php +++ b/themes/_custom/theme.php @@ -83,7 +83,7 @@ class CustomTheme extends WebtreesTheme { $menu = parent::menuLists(); // Remove the "notes" sub-menu. $submenus = array_filter($menu->getSubmenus(), function(Menu $menu) { - return $menu->getId() !== 'menu-list-note'; + return $menu->getClass() !== 'menu-list-note'; }); // Replace the sub-menus $menu->setSubmenus($submenus); |
