mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 16:48:49 +01:00
remove invalid -at- when occurring in full name, when adding address to email
This commit is contained in:
parent
517a99ce27
commit
23c02699a8
@ -727,7 +727,7 @@ class addressbook_ui extends addressbook_bo
|
||||
}
|
||||
if($email)
|
||||
{
|
||||
$contact['n_fn'] = str_replace(',',' ',$contact['n_fn']);
|
||||
$contact['n_fn'] = str_replace(array(',','@'),' ',$contact['n_fn']);
|
||||
egw_framework::set_onload("addEmail('".addslashes(
|
||||
$contact['n_fn'] ? $contact['n_fn'].' <'.trim($email).'>' : trim($email))."');");
|
||||
//error_log(__METHOD__.__LINE__."addEmail('".addslashes(
|
||||
|
Loading…
Reference in New Issue
Block a user