Index: menu_helper.php =================================================================== --- menu_helper.php (revision 14472) +++ menu_helper.php (working copy) @@ -253,7 +253,7 @@ foreach ($menu as $menu_index => $menu_item) { // $menu_index is in "cN" format, where N is category id - if (!$menu_item['IsMenu'] || ($menu_item['ThemeId'] != $theme_id && $menu_item['ThemeId'] != 0)) { + if (!$menu_item['IsMenu'] || $menu_item['Status'] != STATUS_ACTIVE || ($menu_item['ThemeId'] != $theme_id && $menu_item['ThemeId'] != 0)) { // don't show sections, that are not from menu OR system templates from other themes unset($menu[$menu_index]); } @@ -341,9 +341,9 @@ c.ParentPath AS ParentPath, c.ParentId As ParentId, \'cat\' AS ItemType, - c.IsMenu, c.Type, c.ThemeId, c.UseExternalUrl, c.ExternalUrl, c.UseMenuIconUrl, c.MenuIconUrl - FROM ' . TABLE_PREFIX . 'Category AS c - WHERE c.Status = ' . STATUS_ACTIVE; + c.IsMenu, c.Type, c.ThemeId, c.UseExternalUrl, c.ExternalUrl, c.UseMenuIconUrl, c.MenuIconUrl, + c.Status + FROM ' . TABLE_PREFIX . 'Category AS c'; $items = $this->Conn->Query($sql, 'ItemId'); foreach ($items as $item_id => $item_data) {