// Normalization
This commit is contained in:
1 parent
4f1e8fc2d5
commit
7fec565167
48 files changed
+77
-77
No files matched your search
@@ -128,7 +128,7 @@ class AddressControllerCore extends FrontController
|
||||
$this->context->customer->isLogged(true) === true)
|
||||
$this->errors[] = Tools::displayError('Invalid token');
|
||||
|
||||
if ((int)($country->contains_states) AND !(int)($address->id_state))
|
||||
if ($country->contains_states AND !$address->id_state)
|
||||
$this->errors[] = Tools::displayError('This country requires a state selection.');
|
||||
|
||||
if (!sizeof($this->errors))
|
||||
|
||||
Reference in new issue
Block a user