// Removing attribute 'preselect_country' and use 'default_value' instead

This commit is contained in:
mDeflotte
2012-02-22 14:27:32 +00:00
parent 735842b766
commit 07ebf2e2e5
9 changed files with 68 additions and 67 deletions
+1 -1
View File
@@ -124,11 +124,11 @@ class AdminStatesControllerCore extends AdminController
'label' => $this->l('Country:'),
'name' => 'id_country',
'required' => false,
'default_value' => (int)$this->context->country->id,
'options' => array(
'query' => Country::getCountries($this->context->language->id, false, true),
'id' => 'id_country',
'name' => 'name',
'preselect_country' => true,
),
'desc' => $this->l('Country where state, region or city is located')
),