mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-11-29 08:56:03 +00:00
Fix uninitialised variable errors in new scheduling code.
This commit is contained in:
1 parent
701e96e1b2
commit
9f3deeb416
1 file changed
+2
-1
@@ -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' );
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user