[Pkg-owncloud-commits] [php-sabredav] 06/42: ATTENDEE may not exist in events.

David Prévot taffit at moszumanska.debian.org
Wed Oct 29 20:52:04 UTC 2014


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

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

commit 8115923414f1d296c821d8902b56e20d454dc244
Author: Evert Pot <evert at rooftopsolutions.nl>
Date:   Sun Sep 28 15:57:57 2014 +0100

    ATTENDEE may not exist in events.
---
 lib/CalDAV/Schedule/Plugin.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/CalDAV/Schedule/Plugin.php b/lib/CalDAV/Schedule/Plugin.php
index 84de34b..62ed01c 100644
--- a/lib/CalDAV/Schedule/Plugin.php
+++ b/lib/CalDAV/Schedule/Plugin.php
@@ -584,7 +584,7 @@ class Plugin extends ServerPlugin {
 
             } else {
 
-                foreach($newObject->VEVENT->ATTENDEE as $attendee) {
+                if (isset($newObject->VEVENT->ATTENDEE)) foreach($newObject->VEVENT->ATTENDEE as $attendee) {
 
                     if ($attendee->getNormalizedValue() === $message->recipient) {
                         $attendee['SCHEDULE-STATUS'] = $message->scheduleStatus;

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



More information about the Pkg-owncloud-commits mailing list