// little fix

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@12277 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
vChabot
2012-01-09 16:03:58 +00:00
parent 832dc339ab
commit a9b4c401bb
+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.'