get rid of comma in full-emailadresses, as imap_rfc_address_list assumes a new address to come after comma

This commit is contained in:
Klaus Leithoff 2010-02-17 12:07:07 +00:00
parent bcabcd925b
commit a3d6a1b1f0

View File

@ -682,6 +682,7 @@ class addressbook_ui extends addressbook_bo
}
if($email)
{
$contact['n_fn'] = str_replace(',',' ',$contact['n_fn']);
$GLOBALS['egw']->js->set_onload("addEmail('".addslashes(
$contact['n_fn'] ? $contact['n_fn'].' <'.$email.'>' : $email)."');");
$Ok = true;