summaryrefslogtreecommitdiff
path: root/themes/clouds
diff options
context:
space:
mode:
authorGreg Roach <fisharebest@gmail.com>2014-12-17 20:08:57 +0000
committerGreg Roach <fisharebest@gmail.com>2014-12-17 20:13:28 +0000
commit231488661263cd50570c97d1f5b4fbf4d11ceca8 (patch)
tree8b818357e6fe6d54f2e1909b2324883ca4e0890f /themes/clouds
parentdc54ec42f976aaa6c56c0121bffe83200aba3568 (diff)
downloadwebtrees-231488661263cd50570c97d1f5b4fbf4d11ceca8.tar.gz
webtrees-231488661263cd50570c97d1f5b4fbf4d11ceca8.tar.bz2
webtrees-231488661263cd50570c97d1f5b4fbf4d11ceca8.zip
Enforce getters/setters for menu attributes
Diffstat (limited to 'themes/clouds')
-rw-r--r--themes/clouds/theme.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/themes/clouds/theme.php b/themes/clouds/theme.php
index 1a3dc5b5bd..d5038ec25b 100644
--- a/themes/clouds/theme.php
+++ b/themes/clouds/theme.php
@@ -36,7 +36,7 @@ if (!defined('WT_WEBTREES')) {
*/
function getMenuAsCustomList($menu) {
// Create an inert menu - to use as a label
- $tmp = new WT_Menu(strip_tags($menu->label), '');
+ $tmp = new WT_Menu(strip_tags($menu->getLabel()), '');
// Insert the label into the submenu
$submenus = $menu->getSubmenus();