From d056b16654a5ca6c07d7698a84f0872ea9a79e30 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 git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@13229 b9a71923-0436-4b27-9f14-aed3839534dd --- 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'); } }