// [-] BO : #PSTEST-769 - Use context instead of the Configuration::get()

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@13394 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
mDeflotte
2012-02-16 14:23:07 +00:00
parent 5b942b7993
commit 83053fa035
+1 -1
View File
@@ -160,7 +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')),
'default_country' => (int)$this->context->country->id,
'required_fields' => $this->getFieldsRequired(),
'vat_number' => file_exists(_PS_MODULE_DIR_.'vatnumber/ajax.php'),
'module_dir' => _MODULE_DIR_,