From 18bf1fd6f4d160452d2935450a111ed4e754ee2b Mon Sep 17 00:00:00 2001 From: wdammak <26695620+wdammak@users.noreply.github.com> Date: Tue, 29 Sep 2020 22:31:39 +0200 Subject: [PATCH] Update Product.php --- classes/Product.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/Product.php b/classes/Product.php index 1df4135d8..e4f3ed469 100644 --- a/classes/Product.php +++ b/classes/Product.php @@ -3707,7 +3707,7 @@ class ProductCore extends ObjectModel $result = Db::getInstance(_PS_USE_SQL_SLAVE_)->executeS(' SELECT id_feature, id_product, id_feature_value FROM `'._DB_PREFIX_.'feature_product` - WHERE `id_product` IN ('.implode($product_implode, ',').')'); + WHERE `id_product` IN ('.implode( ',', $product_implode).')'); foreach ($result as $row) { if (!array_key_exists($row['id_product'], self::$_cacheFeatures)) { self::$_cacheFeatures[$row['id_product']] = array();