From a386bda791fdcde2a24193a2c01e080af9bf7306 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Fri, 18 Nov 2005 17:51:23 +0000 Subject: [PATCH] fix for not working custom_mail, if names contain comma (eg. because name-format is name, firstname) --- calendar/inc/class.uiforms.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/calendar/inc/class.uiforms.inc.php b/calendar/inc/class.uiforms.inc.php index 8148ef5a2b..82eb45698b 100644 --- a/calendar/inc/class.uiforms.inc.php +++ b/calendar/inc/class.uiforms.inc.php @@ -471,8 +471,8 @@ class uiforms extends uical { $GLOBALS['egw']->accounts->get_account_name($uid,$lid,$firstname,$lastname); - $to[] = $GLOBALS['egw']->common->display_fullname('',$firstname,$lastname). - ' <'.$GLOBALS['egw']->accounts->id2name($uid,'account_email').'>'; + $to[] = '"'.$GLOBALS['egw']->common->display_fullname('',$firstname,$lastname). + '" <'.$GLOBALS['egw']->accounts->id2name($uid,'account_email').'>'; } } list($subject,$body) = $this->bo->get_update_message($event,$added ? MSG_ADDED : MSG_MODIFIED); // update-message is in TZ of the user