[Pkg-owncloud-commits] [php-sabre-vobject] 04/46: also iterate events with rdate in calendar

David Prévot taffit at moszumanska.debian.org
Thu Dec 10 02:12:37 UTC 2015


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository php-sabre-vobject.

commit 1a6e996cb00bddec6a3eed8221346a47cbf1d515
Author: Jan Kantert <kantert at sra.uni-hannover.de>
Date:   Wed Oct 14 13:36:33 2015 +0200

    also iterate events with rdate in calendar
---
 lib/Component/VCalendar.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/Component/VCalendar.php b/lib/Component/VCalendar.php
index d1cd308..d39c31e 100644
--- a/lib/Component/VCalendar.php
+++ b/lib/Component/VCalendar.php
@@ -310,7 +310,7 @@ class VCalendar extends VObject\Document {
                 throw new \LogicException('Event did not have a UID!');
             }
 
-            if (isset($vevent->{'RECURRENCE-ID'}) || isset($vevent->RRULE)) {
+            if (isset($vevent->{'RECURRENCE-ID'}) || isset($vevent->RRULE) || isset($vevent->{'RDATE'})) {
                 if (isset($recurringEvents[$uid])) {
                     $recurringEvents[$uid][] = $vevent;
                 } else {

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/php-sabre-vobject.git



More information about the Pkg-owncloud-commits mailing list