From 617d44e0a78fbbf659797093c686e3017b4fb663 Mon Sep 17 00:00:00 2001 From: Lars Kneschke Date: Thu, 29 Jun 2006 05:24:17 +0000 Subject: [PATCH] reenabled participants --- calendar/inc/class.boical.inc.php | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/calendar/inc/class.boical.inc.php b/calendar/inc/class.boical.inc.php index a00919b408..e986224128 100644 --- a/calendar/inc/class.boical.inc.php +++ b/calendar/inc/class.boical.inc.php @@ -163,7 +163,7 @@ $mailto = $GLOBALS['egw']->accounts->id2name($uid,'account_email'); $cn = trim($GLOBALS['egw']->accounts->id2name($uid,'account_firstname'). ' ' . $GLOBALS['egw']->accounts->id2name($uid,'account_lastname')); - $attributes['ATTENDEE'][] = $mailto ? 'MAILTO:'.$mailto : ''; + $attributes['ATTENDEE'][] = $mailto ? 'MAILTO:'. $cn .'<'. $mailto .'>' : ''; // ROLE={CHAIR|REQ-PARTICIPANT|OPT-PARTICIPANT|NON-PARTICIPANT} NOT used by eGW atm. $role = $uid == $event['owner'] ? 'CHAIR' : 'REQ-PARTICIPANT'; // RSVP={TRUE|FALSE} // resonse expected, not set in eGW => status=U @@ -686,9 +686,8 @@ switch(strtolower($_productName)) { default: - # participants disabled until working correctly - #$this->supportedFields = $defaultFields + array('participants' => 'participants'); - $this->supportedFields = $defaultFields; + $this->supportedFields = $defaultFields + array('participants' => 'participants'); + #$this->supportedFields = $defaultFields; break; } break;