[-] FO : #PSTEST-400 - Fixed problem with registering attribute value

This commit is contained in:
mDeflotte committed 2012-01-13 13:47:53 +00:00
1 parent bee3ee42c7
commit d1f2111c44
1 file changed
+2 -2
@@ -515,8 +515,8 @@ class AdminAttributesGroupsControllerCore extends AdminController
else else
$this->identifier = 'id_attribute_group'; $this->identifier = 'id_attribute_group';
if ((int)Tools::getValue('id_attribute') <= 0 && $this->display == 'add' if ((int)Tools::getValue('id_attribute_group') <= 0 && $this->display == 'add'
|| (int)Tools::getValue('id_attribute_group') <= 0 && $this->display != 'add') || (int)Tools::getValue('id_attribute') <= 0 && $this->display != 'add')
return $this->processAdd($token); return $this->processAdd($token);
else else
return $this->processUpdate($token); return $this->processUpdate($token);