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:06:23 +00:00
parent 44707ff64c
commit fda3d2bad6

View File

@ -684,6 +684,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;