[-] BO : Remove warning on ProductDownload
This commit is contained in:
1 parent
2da2455397
commit
d790447e5f
1 file changed
+1
-1
@@ -175,7 +175,7 @@ class ProductDownloadCore extends ObjectModel
|
|||||||
{
|
{
|
||||||
if (!ProductDownload::isFeatureActive())
|
if (!ProductDownload::isFeatureActive())
|
||||||
return false;
|
return false;
|
||||||
if (array_key_exists($id_product, self::$_productIds))
|
if (array_key_exists((int)$id_product, self::$_productIds))
|
||||||
return self::$_productIds[$id_product];
|
return self::$_productIds[$id_product];
|
||||||
self::$_productIds[$id_product] = (int)Db::getInstance()->getValue('
|
self::$_productIds[$id_product] = (int)Db::getInstance()->getValue('
|
||||||
SELECT `id_product_download`
|
SELECT `id_product_download`
|
||||||
|
|||||||
Reference in new issue
Block a user