[-] Fo : fixed warning in empty categories
This commit is contained in:
@@ -657,7 +657,7 @@ class CategoryCore extends ObjectModel
|
||||
Tools::orderbyPrice($result, $order_way);
|
||||
|
||||
if (!$result)
|
||||
return false;
|
||||
return array();
|
||||
|
||||
/* Modify SQL result */
|
||||
return Product::getProductsProperties($id_lang, $result);
|
||||
|
||||
Reference in New Issue
Block a user