fix privat address country does not preselect nation, should be analogous to business

This commit is contained in:
Hadi Nategh 2013-08-19 11:44:37 +00:00
parent ec9bf42156
commit 70d4fc8527

View File

@ -1701,6 +1701,10 @@ class addressbook_ui extends addressbook_bo
$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'];
}