This needs to be a vCalendar to do scheduling actions now.

Viz.: dmz-sv-cal.physik.uni-muenchen.de-error_log-20120108:[Wed Jan 04 14:26:16 2012]
[error] [client 10.153.220.88] PHP Catchable fatal error:  Argument 1 passed to
handle_schedule_reply() must be an instance of vCalendar, instance of vComponent
given, called in /usr/share/davical/inc/caldav-POST.php on line 144 and defined
in /usr/share/davical/inc/caldav-PUT-functions.php on line 270
This commit is contained in:
Andrew McMillan 2012-01-13 11:28:44 +13:00
parent edc075a54a
commit fa4843d521

View File

@ -122,7 +122,7 @@ function handle_cancel_request( $ic ) {
$request->XMLResponse( 200, $response );
}
$ical = new vComponent( $request->raw_post );
$ical = new vCalendar( $request->raw_post );
$method = $ical->GetPValue('METHOD');
$resources = $ical->GetComponents('VTIMEZONE',false);