[-] MO: Fix active category check
This commit is contained in:
+1
-1
@@ -610,7 +610,7 @@ class Blocktopmenu extends Module
|
||||
$link = $this->context->link->getPageLink('index');
|
||||
|
||||
/* Whenever a category is not active we shouldnt display it to customer */
|
||||
if ((bool)$cat->active === false) {
|
||||
if ((bool)$category['active'] === false) {
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user