From 23c02699a8181cd7193247466ce99565897be975 Mon Sep 17 00:00:00 2001 From: Klaus Leithoff Date: Mon, 6 Dec 2010 15:02:56 +0000 Subject: [PATCH] remove invalid -at- when occurring in full name, when adding address to email --- addressbook/inc/class.addressbook_ui.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addressbook/inc/class.addressbook_ui.inc.php b/addressbook/inc/class.addressbook_ui.inc.php index 5d84454977..890d39c9d6 100644 --- a/addressbook/inc/class.addressbook_ui.inc.php +++ b/addressbook/inc/class.addressbook_ui.inc.php @@ -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(