Index: branches/5.2.x/core/units/helpers/menu_helper.php =================================================================== diff -u -N -r14572 -r14585 --- branches/5.2.x/core/units/helpers/menu_helper.php (.../menu_helper.php) (revision 14572) +++ branches/5.2.x/core/units/helpers/menu_helper.php (.../menu_helper.php) (revision 14585) @@ -1,6 +1,6 @@ $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]); } @@ -349,9 +349,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) {