// Avoid some crashes

This commit is contained in:
dMetzger committed 2011-11-23 08:39:49 +00:00
1 parent eb173f6dfc
commit 0a4e421226
3 files changed
+26 -26

No files matched your search

+1 -1
View File
@@ -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)))