Fix RSVP flag in iTip REQUESTS
This commit is contained in:
parent
95ed84c932
commit
61037eb97c
2 changed files with 3 additions and 3 deletions
|
@ -250,8 +250,8 @@ class libcalendaring_itip
|
|||
// set RSVP for every attendee
|
||||
else if ($method == 'REQUEST') {
|
||||
foreach ($event['attendees'] as $i => $attendee) {
|
||||
if ($attendee['status'] != 'DELEGATED') {
|
||||
$event['attendees'][$i]['rsvp']= $rsvp ? true : null;
|
||||
if ($attendee['status'] != 'DELEGATED' && !isset($attendee['rsvp'])) {
|
||||
$event['attendees'][$i]['rsvp']= (bool)$rsvp;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -118,7 +118,7 @@ class kolab_format_event extends kolab_format_xcal
|
|||
$vexceptions->push($exevent->obj);
|
||||
|
||||
// write cleaned-up exception data back to memory/cache
|
||||
$object['recurrence']['EXCEPTIONS'][$i] = $this->expand_exception($compacted, $object);
|
||||
$object['recurrence']['EXCEPTIONS'][$i] = $this->expand_exception($exevent->data, $object);
|
||||
}
|
||||
$this->obj->setExceptions($vexceptions);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue