[-] BO : #PSTEST-400 - Change the working of the button "Save and stay" for attributes and features
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@12386 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -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