[-] Fo : fixed warning in empty categories

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