// Avoid some crashes
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@10488 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -1716,7 +1716,7 @@ class AdminControllerCore extends Controller
|
||||
}
|
||||
else if ($submitted_action = Tools::getValue('submitAction'.$this->table))
|
||||
$this->action = $submitted_action;
|
||||
else if (Tools::getValue('submitAdd'.$this->table))
|
||||
else if (Tools::getValue('submitAdd'.$this->table) || Tools::getValue('submitAdd'.$this->table.'AndStay'))
|
||||
{
|
||||
// case 1: updating existing entry
|
||||
if ((int)(Tools::getValue('id_'.$this->table)))
|
||||
|
||||
Reference in New Issue
Block a user