From 34c85b6114d2b2439ade088deac2245a799b89b0 Mon Sep 17 00:00:00 2001 From: dMetzger Date: Wed, 25 Jul 2012 07:21:23 +0000 Subject: [PATCH] [-] WS : creation of new product combination returned an error #PSCFV-3333 git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@16560 b9a71923-0436-4b27-9f14-aed3839534dd --- classes/Combination.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/Combination.php b/classes/Combination.php index f8626d99c..586ccab32 100644 --- a/classes/Combination.php +++ b/classes/Combination.php @@ -140,7 +140,7 @@ class CombinationCore extends ObjectModel $ids_attributes = array(); foreach ($values as $value) $ids_attributes[] = $value['id']; - return $this->setAttributes($values); + return $this->setAttributes($ids_attributes); } public function getWsProductOptionValues()