From 36dda1afd4750a1e3f5d26c57bda728089fbd6a1 Mon Sep 17 00:00:00 2001 From: Thomas Bruederli Date: Tue, 18 Mar 2014 12:07:29 +0100 Subject: [PATCH] Only list event-type iTip invitations for RSVP (#2928) --- plugins/calendar/calendar.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plugins/calendar/calendar.php b/plugins/calendar/calendar.php index fe7c311a..2f80a595 100644 --- a/plugins/calendar/calendar.php +++ b/plugins/calendar/calendar.php @@ -2093,6 +2093,9 @@ class calendar extends rcube_plugin // show a box for every event in the file foreach ($events as $idx => $event) { + if ($event['_type'] != 'event') // skip non-event objects (#2928) + continue; + // define buttons according to method if ($this->ical->method == 'REPLY') { $title = $this->gettext('itipreply');