From bf36ea88d85503cf03b69a5c2565eaeffef5e3b8 Mon Sep 17 00:00:00 2001 From: Shagshag Date: Mon, 11 Mar 2013 12:41:59 +0100 Subject: [PATCH] Update Combination.php --- classes/Combination.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/classes/Combination.php b/classes/Combination.php index 93cdec7ef..27148b7b3 100644 --- a/classes/Combination.php +++ b/classes/Combination.php @@ -135,7 +135,8 @@ class CombinationCore extends ObjectModel public function setAttributes($ids_attribute) { $result = $this->deleteAssociations(); - if ($result && !empty($ids_attribute)) { + if ($result && !empty($ids_attribute)) + { $sql_values = array(); foreach ($ids_attribute as $value) $sql_values[] = '('.(int)$value.', '.(int)$this->id.')';