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:03:37 +00:00
parent ab598b8fcb
commit d2d64a73fe

View File

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