[-] Fo : fixed warning in empty categories

This commit is contained in:
Damien Metzger
2012-12-21 10:55:56 +01:00
parent 5c1ac36f27
commit 66dcbed995
+1 -1
View File
@@ -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);