fix for not working custom_mail, if names contain comma (eg. because name-format is name, firstname)

This commit is contained in:
Ralf Becker 2005-11-18 17:51:23 +00:00
parent 2ea764e672
commit a386bda791

View File

@ -471,8 +471,8 @@ class uiforms extends uical
{ {
$GLOBALS['egw']->accounts->get_account_name($uid,$lid,$firstname,$lastname); $GLOBALS['egw']->accounts->get_account_name($uid,$lid,$firstname,$lastname);
$to[] = $GLOBALS['egw']->common->display_fullname('',$firstname,$lastname). $to[] = '"'.$GLOBALS['egw']->common->display_fullname('',$firstname,$lastname).
' <'.$GLOBALS['egw']->accounts->id2name($uid,'account_email').'>'; '" <'.$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 list($subject,$body) = $this->bo->get_update_message($event,$added ? MSG_ADDED : MSG_MODIFIED); // update-message is in TZ of the user