// Fixed warning
This commit is contained in:
1 parent
8f10e42b60
commit
fa6d09a756
1 file changed
+1
-1
@@ -1157,7 +1157,7 @@ class FrontControllerCore extends Controller
|
||||
|
||||
protected function addColorsToProductList(&$products)
|
||||
{
|
||||
if (!count($products))
|
||||
if (!is_array($products) || !count($products))
|
||||
return;
|
||||
|
||||
$products_need_cache = array();
|
||||
|
||||
Reference in new issue
Block a user