Set country name too, so address format works

This commit is contained in:
Nathan Gray 2011-03-07 17:27:53 +00:00
parent 97523a99f3
commit 711ffd4fdb

View File

@ -1398,6 +1398,8 @@ class addressbook_ui extends addressbook_bo
{
$content['adr_one_countrycode'] =
$GLOBALS['egw_info']['user']['preferences']['common']['country'];
$content['adr_one_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'];
}