[-] FO : #PSTEST-400 - Fixed problem with registering attribute value
This commit is contained in:
@@ -515,8 +515,8 @@ class AdminAttributesGroupsControllerCore extends AdminController
|
||||
else
|
||||
$this->identifier = 'id_attribute_group';
|
||||
|
||||
if ((int)Tools::getValue('id_attribute') <= 0 && $this->display == 'add'
|
||||
|| (int)Tools::getValue('id_attribute_group') <= 0 && $this->display != 'add')
|
||||
if ((int)Tools::getValue('id_attribute_group') <= 0 && $this->display == 'add'
|
||||
|| (int)Tools::getValue('id_attribute') <= 0 && $this->display != 'add')
|
||||
return $this->processAdd($token);
|
||||
else
|
||||
return $this->processUpdate($token);
|
||||
|
||||
Reference in New Issue
Block a user