From 84f282bf7bd457c467b6c565543cb5218ad13ff9 Mon Sep 17 00:00:00 2001 From: rMalie Date: Fri, 10 Feb 2012 15:07:44 +0000 Subject: [PATCH] // Fix default country on address creation in BO --- controllers/admin/AdminAddressesController.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/controllers/admin/AdminAddressesController.php b/controllers/admin/AdminAddressesController.php index aa9043ef0..7e516fccf 100644 --- a/controllers/admin/AdminAddressesController.php +++ b/controllers/admin/AdminAddressesController.php @@ -268,10 +268,11 @@ class AdminAddressesControllerCore extends AdminController 'options' => array( 'query' => array(), 'id' => 'id_state', - 'name' => 'name' + 'name' => 'name', ) ); + $this->fields_value['id_country'] = Configuration::get('PS_COUNTRY_DEFAULT'); } }