From 076413fe6a409aa05235eaf311ccf521a960929c Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Wed, 26 Apr 2006 21:38:47 +0000 Subject: [PATCH] fixed not working custom mail (\"[] First Last\" ) --- calendar/inc/class.uiforms.inc.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/calendar/inc/class.uiforms.inc.php b/calendar/inc/class.uiforms.inc.php index df4a69f10b..2f2f4f2040 100644 --- a/calendar/inc/class.uiforms.inc.php +++ b/calendar/inc/class.uiforms.inc.php @@ -495,8 +495,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[] = $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 @@ -520,7 +520,7 @@ class uiforms extends uical 'preset[type]' => 'text/calendar; method=request', 'preset[size]' => filesize($ics_file), ); - return "window.open('".addslashes($GLOBALS['egw']->link('/index.php',$vars))."','_blank','width=700,height=700,scrollbars=yes,status=no');"; + return "window.open('".$GLOBALS['egw']->link('/index.php',$vars)."','_blank','width=700,height=700,scrollbars=yes,status=no');"; } /**