// forgot to normalize this node
This commit is contained in:
+1
-1
@@ -688,7 +688,7 @@ class Blocktopmenu extends Module implements WidgetInterface
|
|||||||
$nodes = [];
|
$nodes = [];
|
||||||
|
|
||||||
foreach ($categories as $key => $category) {
|
foreach ($categories as $key => $category) {
|
||||||
$node = [];
|
$node = $this->makeNode([]);
|
||||||
|
|
||||||
if ($category['level_depth'] > 1) {
|
if ($category['level_depth'] > 1) {
|
||||||
$cat = new Category($category['id_category']);
|
$cat = new Category($category['id_category']);
|
||||||
|
|||||||
Reference in New Issue
Block a user