gRoussac
2013-05-27 19:06:59 +02:00
parent 9845966a88
commit ea5405a917
5 changed files with 62 additions and 4 deletions
+1 -1
View File
@@ -138,7 +138,7 @@ class AddressControllerCore extends FrontController
$this->errors[] = Tools::displayError('This country requires you to chose a State.');
// US customer: normalize the address
if ($address->id_country == Country::getByIso('US'))
if ($address->id_country == Country::getByIso('US') && Configuration::get('PS_TAASC'))
{
include_once(_PS_TAASC_PATH_.'AddressStandardizationSolution.php');
$normalize = new AddressStandardizationSolution;