From b3c8a4ad0f29f11aba253ad4ed3c66da851d48fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ja=CC=81n=20Ma=CC=81te=CC=81?= Date: Mon, 7 Apr 2014 12:26:39 +0200 Subject: [PATCH] awl interface related changes --- inc/schedule-functions.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/inc/schedule-functions.php b/inc/schedule-functions.php index b792b932..cb4fb415 100644 --- a/inc/schedule-functions.php +++ b/inc/schedule-functions.php @@ -197,7 +197,9 @@ function GetItip( VCalendar $vcal, $method, $attendee_value ) { case 'DTEND': case 'DUE': $when = new RepeatRuleDateTime($property); - $properties[] = new vProperty( $property->Name() . ":" . $when->UTC() ); + $new_prop = new vProperty($property->Name()); + $new_prop->Value($when->UTC()); + $properties[] = $new_prop; break; default: $properties[] = $property; @@ -205,7 +207,6 @@ function GetItip( VCalendar $vcal, $method, $attendee_value ) { } $comp->SetProperties($properties); } - return $iTIP; }