// Clean AdminController methods did not return the appropriate value #PSCFV-3645
This commit is contained in:
1 parent
b0448f261d
commit
841db7a805
9 files changed
+27
-10
No files matched your search
@@ -386,7 +386,7 @@ class AdminAttributesGroupsControllerCore extends AdminController
|
||||
*/
|
||||
public function processAdd()
|
||||
{
|
||||
parent::processAdd();
|
||||
$object = parent::processAdd();
|
||||
|
||||
if (Tools::isSubmit('submitAdd'.$this->table.'AndStay') && !count($this->errors))
|
||||
{
|
||||
@@ -398,6 +398,8 @@ class AdminAttributesGroupsControllerCore extends AdminController
|
||||
|
||||
if (count($this->errors))
|
||||
$this->setTypeAttribute();
|
||||
|
||||
return $object;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -406,7 +408,7 @@ class AdminAttributesGroupsControllerCore extends AdminController
|
||||
*/
|
||||
public function processUpdate()
|
||||
{
|
||||
parent::processUpdate();
|
||||
$object = parent::processUpdate();
|
||||
|
||||
if (Tools::isSubmit('submitAdd'.$this->table.'AndStay') && !count($this->errors))
|
||||
{
|
||||
@@ -418,6 +420,8 @@ class AdminAttributesGroupsControllerCore extends AdminController
|
||||
|
||||
if (count($this->errors))
|
||||
$this->setTypeAttribute();
|
||||
|
||||
return $object;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user