[-] FO : fixed bug on Feature detachable with product pack feature

This commit is contained in:
aFolletete
2011-09-20 08:41:05 +00:00
parent 3126782b83
commit 379cedda66

View File

@@ -206,7 +206,7 @@ class PackCore extends Product
{
if (self::$feature_active === null)
self::$feature_active = (bool)Db::getInstance(_PS_USE_SQL_SLAVE_)->getValue('
SELECT `id_pack`
SELECT `id_product_pack`
FROM `'._DB_PREFIX_.'pack`
');
return self::$feature_active;