[-] BO : BugFix : Admin suppliers errors message (add) & Admin attributes add / update fix
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@11784 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -327,7 +327,7 @@ class AdminSuppliersControllerCore extends AdminController
|
||||
|
||||
if (Tools::isSubmit('submitAdd'.$this->table))
|
||||
{
|
||||
if (!($obj = $this->loadObject(true)))
|
||||
if (Tools::isSubmit('id_supplier') && !($obj = $this->loadObject(true)))
|
||||
return;
|
||||
|
||||
// updates/creates address if it does not exist
|
||||
|
||||
Reference in New Issue
Block a user