// Fix PrestaShopException typo
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@12128 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
1 parent
c5519c7b70
commit
494205d52e
36 files changed
+96
-86
No files matched your search
@@ -131,7 +131,7 @@ class AddressControllerCore extends FrontController
|
||||
|
||||
// Check country
|
||||
if (!($country = new Country($address->id_country)) || !Validate::isLoadedObject($country))
|
||||
throw new PrestashopException('Country cannot be loaded with address->id_country');
|
||||
throw new PrestaShopException('Country cannot be loaded with address->id_country');
|
||||
|
||||
if ((int)$country->contains_states && !(int)$address->id_state)
|
||||
$this->errors[] = Tools::displayError('This country requires a state selection.');
|
||||
|
||||
Reference in new issue
Block a user