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

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@12407 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
mDeflotte
2012-01-13 13:47:53 +00:00
parent 6933ecd5cf
commit 6699733ec6
@@ -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);