[Pkg-owncloud-commits] [php-sabre-vobject] 14/38: using getValue()
David Prévot
taffit at moszumanska.debian.org
Tue Sep 23 03:10:21 UTC 2014
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch upstream
in repository php-sabre-vobject.
commit 3ba403cdaf390f7c4bad620115a237be41a3e474
Author: Dominik Tobschall <dominik at fruux.com>
Date: Tue Sep 16 00:35:56 2014 +0200
using getValue()
---
lib/ITip/Broker.php | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/lib/ITip/Broker.php b/lib/ITip/Broker.php
index edfe97a..2bd549f 100644
--- a/lib/ITip/Broker.php
+++ b/lib/ITip/Broker.php
@@ -507,8 +507,8 @@ class Broker {
'UID' => $message->uid,
'SEQUENCE' => $message->sequence,
));
- if ($calendar->VEVENT->SUMMARY) {
- $event->add('SUMMARY', $calendar->VEVENT->SUMMARY);
+ if (isset($calendar->VEVENT->SUMMARY)) {
+ $event->add('SUMMARY', $calendar->VEVENT->SUMMARY->getValue());
}
$org = $event->add('ORGANIZER', $eventInfo['organizer']);
if ($eventInfo['organizerName']) $org['CN'] = $eventInfo['organizerName'];
@@ -685,8 +685,8 @@ class Broker {
'UID' => $message->uid,
'SEQUENCE' => $message->sequence,
));
- if ($calendar->VEVENT->SUMMARY) {
- $event->add('SUMMARY', $calendar->VEVENT->SUMMARY);
+ if (isset($calendar->VEVENT->SUMMARY)) {
+ $event->add('SUMMARY', $calendar->VEVENT->SUMMARY->getValue());
}
if ($instance['id'] !== 'master') {
$event->{'RECURRENCE-ID'} = DateTimeParser::parseDateTime($instance['id'], $eventInfo['timezone']);
--
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