// More BO product page cleanup
This commit is contained in:
1 parent
f2423aa235
commit
56356f72f8
9 files changed
+137
-105
No files matched your search
@@ -36,6 +36,9 @@ class PackCore extends Product
|
||||
if (!Pack::isFeatureActive())
|
||||
return false;
|
||||
|
||||
if (!$id_product)
|
||||
return false;
|
||||
|
||||
if (!array_key_exists($id_product, self::$cacheIsPack))
|
||||
{
|
||||
$result = Db::getInstance()->getValue('SELECT COUNT(*) FROM '._DB_PREFIX_.'pack WHERE id_product_pack = '.(int)$id_product);
|
||||
|
||||
Reference in new issue
Block a user