[-] BO : the default country of shop is correctly selected by default in forms with country field #PSTEST-493

This commit is contained in:
aFolletete
2012-02-16 15:55:11 +00:00
parent ae39800143
commit bdcc800cd4
4 changed files with 12 additions and 13 deletions
@@ -230,7 +230,10 @@ class AdminSuppliersControllerCore extends AdminController
);
}
else
$this->fields_value['id_address'] = 0;
$this->fields_value = array(
'id_address' => 0,
'id_country' => Configuration::get('PS_COUNTRY_DEFAULT')
);
if (Shop::isFeatureActive())