[-] BO : #PSTEST-400 - Change the working of the button "Save and stay" for attributes and features
This commit is contained in:
1 parent
5e014ff3d4
commit
bd5a67520b
3 files changed
+92
-7
No files matched your search
@@ -701,7 +701,7 @@ class AdminControllerCore extends Controller
|
||||
$this->errors[] = Tools::displayError('An error occurred while updating object.').
|
||||
' <b>'.$this->table.'</b> ('.Db::getInstance()->getMsgError().')';
|
||||
}
|
||||
else if ($this->postImage($object->id) && !count($this->errors))
|
||||
else if ($this->postImage($object->id) && !count($this->errors) && $this->_redirect)
|
||||
{
|
||||
$parent_id = (int)Tools::getValue('id_parent', 1);
|
||||
// Specific back redirect
|
||||
|
||||
Reference in new issue
Block a user