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()