awl interface related changes

This commit is contained in:
Ján Máté 2014-04-07 12:26:39 +02:00
parent 1330892852
commit b3c8a4ad0f

View File

@ -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;
}