Fix wrong participant status mapping for event attendees (#1722)

This commit is contained in:
Thomas Bruederli 2013-03-27 11:15:14 +01:00
parent 0ceac633be
commit 3cf64d43ea

View file

@ -246,7 +246,7 @@ abstract class kolab_format_xcal extends kolab_format
$att = new Attendee;
$att->setContact($cr);
$att->setPartStat($this->status_map[$attendee['status']]);
$att->setPartStat($this->part_status_map[$attendee['status']]);
$att->setRole($this->role_map[$attendee['role']] ? $this->role_map[$attendee['role']] : kolabformat::Required);
$att->setRSVP((bool)$attendee['rsvp']);