[-] BO : fix #PSCFV-3102

This commit is contained in:
lLefevre
2012-07-13 08:23:39 +00:00
parent b4203ed50e
commit 53862345a9
+1 -1
View File
@@ -401,7 +401,7 @@ class ShopCore extends ObjectModel
{
$address = new Address();
$address->company = Configuration::get('PS_SHOP_NAME');
$address->id_country = Configuration::get('PS_SHOP_COUNTRY_ID');
$address->id_country = Configuration::get('PS_SHOP_COUNTRY_ID') ? Configuration::get('PS_SHOP_COUNTRY_ID') : Configuration::get('PS_COUNTRY_DEFAULT');
$address->id_state = Configuration::get('PS_SHOP_STATE_ID');
$address->address1 = Configuration::get('PS_SHOP_ADDR1');
$address->address2 = Configuration::get('PS_SHOP_ADDR2');