mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-02-05 02:03:54 +00:00
Fix uninitialised variable errors in new scheduling code.
This commit is contained in:
parent
701e96e1b2
commit
9f3deeb416
@ -211,7 +211,8 @@ function handle_schedule_request( $ical ) {
|
||||
//write_resource( $request->user_no, $request->path . $etag . '.ics' ,
|
||||
// $content , $request->collection_id, $request->user_no,
|
||||
// md5($content), $ncal, $put_action_type='INSERT', $caldav_context=true, $log_action=true, $etag );
|
||||
header('ETag: "'. md5(content) . '"' );
|
||||
$etag = md5($content);
|
||||
header('ETag: "'. $etag . '"' );
|
||||
header('Schedule-Tag: "'.$etag . '"' );
|
||||
$request->DoResponse( 201, 'Created' );
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user