From a089002b8f795d0862beeaeb9f3fe4d08c84ebae Mon Sep 17 00:00:00 2001 From: Thomas de Jesus Date: Thu, 4 May 2017 16:14:57 -0500 Subject: [PATCH] Update Menu.php associated menu image was not displaying on homepage. this would conflict with the carousel mod if that is loaded and active as both the associated menu image and the carousel would appear on the homepage. Maybe a flag to check for carousel? --- mod/menu/class/Menu.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mod/menu/class/Menu.php b/mod/menu/class/Menu.php index 079da7969..935f23f01 100755 --- a/mod/menu/class/Menu.php +++ b/mod/menu/class/Menu.php @@ -444,12 +444,12 @@ public static function categoryView() if ($active) { if ($menu->assoc_key) { Layout::set($menu->view(), 'menu', 'side'); - } + } + } - if ($menu->assoc_image) { + if ($menu->assoc_image) { Layout::set($menu->showAssocImage(), 'menu', 'image'); } - } $menu_tpl['menus'][] = self::getCategoryViewLine($menu, $active); }