[-] BO : #PSTEST-769 - The default country must be pre-selected on address list

This commit is contained in:
mDeflotte
2012-02-16 14:13:04 +00:00
parent c02982a8f8
commit 0088f5d245
8 changed files with 48 additions and 23 deletions
+1
View File
@@ -160,6 +160,7 @@ class HelperFormCore extends Helper
'form_id' => $this->id,
'fields' => $this->fields_form,
'fields_value' => $this->fields_value,
'default_country' => (int)(Configuration::get('PS_SHOP_COUNTRY_ID') ? Configuration::get('PS_SHOP_COUNTRY_ID') : Configuration::get('PS_COUNTRY_DEFAULT')),
'required_fields' => $this->getFieldsRequired(),
'vat_number' => file_exists(_PS_MODULE_DIR_.'vatnumber/ajax.php'),
'module_dir' => _MODULE_DIR_,