[Pkg-owncloud-commits] [php-sabre-vobject] 11/106: An organizer may not exist in an old object.

David Prévot taffit at moszumanska.debian.org
Fri Aug 22 15:10:54 UTC 2014


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 380e204b7c75a379b703dd9226f620ded1842810
Author: Evert Pot <me at evertpot.com>
Date:   Fri Jul 18 19:18:52 2014 -0400

    An organizer may not exist in an old object.
---
 lib/Sabre/VObject/ITip/Broker.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/Sabre/VObject/ITip/Broker.php b/lib/Sabre/VObject/ITip/Broker.php
index a182803..61ef54d 100644
--- a/lib/Sabre/VObject/ITip/Broker.php
+++ b/lib/Sabre/VObject/ITip/Broker.php
@@ -410,7 +410,7 @@ class Broker {
                     throw new ITipException('If a calendar contained more than one event, they must have the same UID.');
                 }
             }
-            if (is_null($organizer)) {
+            if (is_null($organizer) && isset($vevent->ORGANIZER)) {
                 $organizer = $vevent->ORGANIZER->getValue();
                 $organizerName = isset($vevent->ORGANIZER['CN'])?$vevent->ORGANIZER['CN']:null;
             } 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