[Pkg-owncloud-commits] [php-sabre-vobject] 42/65: make sure, to get all EXDATES in an vevent on parseEventInfo()
David Prévot
taffit at moszumanska.debian.org
Tue Feb 24 23:57:17 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 e7e003835f35b2209ef6ab8a908647c232b3aaab
Author: Armin Hackmann <armin at fruux.com>
Date: Thu Feb 5 15:28:11 2015 +0100
make sure, to get all EXDATES in an vevent on parseEventInfo()
---
lib/ITip/Broker.php | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/lib/ITip/Broker.php b/lib/ITip/Broker.php
index 5214426..f60f514 100644
--- a/lib/ITip/Broker.php
+++ b/lib/ITip/Broker.php
@@ -855,7 +855,10 @@ class Broker {
$sequence = $vevent->SEQUENCE->getValue();
}
if (isset($vevent->EXDATE)) {
- $exdate = $vevent->EXDATE->getParts();
+ foreach ($vevent->select('EXDATE') as $val) {
+ $exdate = array_merge($exdate, $val->getParts());
+ }
+ sort($exdate);
}
if (isset($vevent->STATUS)) {
$status = strtoupper($vevent->STATUS->getValue());
--
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