[-] MO : fix generateCategoriesMenu()

A disabled category should be skipped, not made interrupt processing the whole category tree
This commit is contained in:
ZiZuu.com
2015-07-07 15:19:30 +02:00
parent 03ba75e1d2
commit 8d223fa303
+1 -1
View File
@@ -604,7 +604,7 @@ class Blocktopmenu extends Module
/* Whenever a category is not active we shouldnt display it to customer */ /* Whenever a category is not active we shouldnt display it to customer */
if ((bool)$category['active'] === false) { if ((bool)$category['active'] === false) {
break; continue;
} }
$html .= '<li'.(($this->page_name == 'category' $html .= '<li'.(($this->page_name == 'category'