From 31e7c6a08e8d10fe391bf12b8276d1955cd21608 Mon Sep 17 00:00:00 2001 From: vAugagneur Date: Mon, 22 Apr 2013 12:06:19 +0200 Subject: [PATCH] Merged Pull request #355 - thanks to @bibendi --- classes/Product.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/Product.php b/classes/Product.php index 80944c55d..5eb9a0017 100644 --- a/classes/Product.php +++ b/classes/Product.php @@ -1451,7 +1451,7 @@ class ProductCore extends ObjectModel } if (count($id_shop_list)) - $combination->id_shop_list = $id_shop_list; + $combination->id_shop_list = array_unique($id_shop_list); $combination->add();