// No return parent::postProcess();
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@11621 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -368,6 +368,7 @@ class AdminSuppliersControllerCore extends AdminController
|
||||
return parent::postProcess();
|
||||
}
|
||||
else if (Tools::isSubmit('delete'.$this->table))
|
||||
{
|
||||
if (!($obj = $this->loadObject(true)))
|
||||
return;
|
||||
else if (SupplyOrder::supplierHasPendingOrders($obj->id))
|
||||
@@ -379,6 +380,9 @@ class AdminSuppliersControllerCore extends AdminController
|
||||
$address->save();
|
||||
return parent::postProcess();
|
||||
}
|
||||
}
|
||||
else
|
||||
return parent::postProcess();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user