From 2a791a2f8aa601e1885c9cad9828d672630afd8d Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Fri, 16 Aug 2013 14:49:08 +0000 Subject: [PATCH] fix privat address country does not preselect nation, should be analogous to business --- addressbook/inc/class.addressbook_ui.inc.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/addressbook/inc/class.addressbook_ui.inc.php b/addressbook/inc/class.addressbook_ui.inc.php index f6692890e3..9b1454f306 100644 --- a/addressbook/inc/class.addressbook_ui.inc.php +++ b/addressbook/inc/class.addressbook_ui.inc.php @@ -1729,6 +1729,10 @@ window.egw_LAB.wait(function() { $GLOBALS['egw_info']['user']['preferences']['common']['country']; $content['adr_one_countryname'] = $GLOBALS['egw']->country->get_full_name($GLOBALS['egw_info']['user']['preferences']['common']['country']); + $content['adr_two_countrycode'] = + $GLOBALS['egw_info']['user']['preferences']['common']['country']; + $content['adr_two_countryname'] = + $GLOBALS['egw']->country->get_full_name($GLOBALS['egw_info']['user']['preferences']['common']['country']); } if ($this->prefs['fileas_default']) $content['fileas_type'] = $this->prefs['fileas_default']; }