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