mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-04-18 14:00:17 +00:00
Fix a bug in GET on collections.
This commit is contained in:
parent
dade978eb6
commit
ac6d040bd8
@ -31,7 +31,7 @@ function obfuscated_event( $icalendar ) {
|
||||
}
|
||||
|
||||
function export_iCalendar( DAVResource $dav_resource ) {
|
||||
global $session, $c;
|
||||
global $session, $c, $request;
|
||||
if ( ! $dav_resource->IsCalendar() && !(isset($c->get_includes_subcollections) && $c->get_includes_subcollections) ) {
|
||||
/** RFC2616 says we must send an Allow header if we send a 405 */
|
||||
header("Allow: PROPFIND,PROPPATCH,OPTIONS,MKCOL,REPORT,DELETE");
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user