From 7079a47cf3885eecaa8b0f6b533426fb399336d6 Mon Sep 17 00:00:00 2001 From: Craig Carnell Date: Fri, 30 Nov 2018 12:50:37 +0000 Subject: [PATCH] Fix value is not array --- Block/Html/Topmenu.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Block/Html/Topmenu.php b/Block/Html/Topmenu.php index a0e5e8d..a4d57a5 100644 --- a/Block/Html/Topmenu.php +++ b/Block/Html/Topmenu.php @@ -76,7 +76,7 @@ protected function _addSubMenu($child, $childLevel, $childrenWrapClass, $limit) return $html; } - $colStops = null; + $colStops = []; if ($childLevel == 0 && $limit) { $colStops = $this->_columnBrake($child->getChildren(), $limit); }