[*] BO : #PSCFV-3831 : check each field which are required in databases
This commit is contained in:
1 parent
7fa7171796
commit
f0765d10b5
5 files changed
+37
No files matched your search
@@ -370,6 +370,10 @@ class AdminAddressesControllerCore extends AdminController
|
||||
$_POST['id_address'] = '';
|
||||
}
|
||||
|
||||
// Check the requires fields which are settings in the BO
|
||||
$address = new Address();
|
||||
$this->errors = array_merge($this->errors, $address->validateFieldsRequiredDatabase());
|
||||
|
||||
if (empty($this->errors))
|
||||
return parent::processSave();
|
||||
else
|
||||
|
||||
Reference in new issue
Block a user