From de58f8fa51da2ed2aaafd8f12ce06d61e8390586 Mon Sep 17 00:00:00 2001 From: vChabot Date: Mon, 9 Jan 2012 16:03:58 +0000 Subject: [PATCH] // little fix --- classes/shop/Shop.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/shop/Shop.php b/classes/shop/Shop.php index 62b2f6575..195209d75 100644 --- a/classes/shop/Shop.php +++ b/classes/shop/Shop.php @@ -1012,7 +1012,7 @@ class ShopCore extends ObjectModel */ public static function isCategoryAvailable($id_category) { - d(' + return (bool)Db::getInstance()->getValue(' SELECT `id_category` FROM `'._DB_PREFIX_.'category_shop` WHERE `id_category` = '.(int)$id_category.'