// Revert normalization

This commit is contained in:
rMalie
2011-08-11 10:20:59 +00:00
parent accec09c98
commit 2bb147128b
48 changed files with 77 additions and 77 deletions
+1 -1
View File
@@ -128,7 +128,7 @@ class AddressControllerCore extends FrontController
$this->context->customer->isLogged(true) === true)
$this->errors[] = Tools::displayError('Invalid token');
if ($country->contains_states AND !$address->id_state)
if ((int)($country->contains_states) AND !(int)($address->id_state))
$this->errors[] = Tools::displayError('This country requires a state selection.');
if (!sizeof($this->errors))