diff --git a/classes/Category.php b/classes/Category.php index 86122e9a7..e25760a40 100644 --- a/classes/Category.php +++ b/classes/Category.php @@ -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);