From 1443ee7cfc84b8d66db8b556e06e2c8e96f05ba0 Mon Sep 17 00:00:00 2001 From: lLefevre Date: Thu, 5 Jan 2012 09:40:12 +0000 Subject: [PATCH] [-] BO : fix #PSTEST-322 --- controllers/admin/AdminAttributesGroupsController.php | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/controllers/admin/AdminAttributesGroupsController.php b/controllers/admin/AdminAttributesGroupsController.php index 3a07c5c38..5314c6363 100644 --- a/controllers/admin/AdminAttributesGroupsController.php +++ b/controllers/admin/AdminAttributesGroupsController.php @@ -321,14 +321,6 @@ class AdminAttributesGroupsControllerCore extends AdminController if (!$obj = new Attribute((int)Tools::getValue($this->identifier))) return; - // known fields are filled - $this->fields_value = array( - 'id_attribute_group' => $this->getFieldValue($obj, 'id_attribute_group'), - 'name' => $this->getFieldValue($obj, 'name'), - 'color' => $this->getFieldValue($obj, 'color'), - 'id_attribute' => $this->getFieldValue($obj, 'id'), - ); - $str_attributes_groups = ''; foreach ($attributes_groups as $attribute_group) $str_attributes_groups .= '"'.$attribute_group['id_attribute_group'].'" : '.($attribute_group['group_type'] == 'color' ? '1' : '0' ) .', '; @@ -534,7 +526,7 @@ class AdminAttributesGroupsControllerCore extends AdminController $_POST['position'] = DB::getInstance()->getValue($sql); } $_POST['id_parent'] = 0; - $this->processSave(); + $this->processSave($this->token); } } else