// little fix

This commit is contained in:
vChabot
2012-01-09 16:03:58 +00:00
parent 9dd902f435
commit de58f8fa51
+1 -1
View File
@@ -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.'