mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-05-27 02:54:27 +00:00
Correct error message for unsupported report request.
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
This commit is contained in:
parent
548bb5f21f
commit
d15a190134
@ -329,6 +329,7 @@ elseif ( $xmltree->GetTag() == "urn:ietf:params:xml:ns:carddav:addressbook-query
|
||||
include("caldav-REPORT-cardquery.php");
|
||||
}
|
||||
else {
|
||||
$request->PreconditionFailed( 403, 'DAV::supported-report', sprintf( '"%s" is not a supported report type') );
|
||||
dbg_error_log( 'ERROR', "Request for unsupported report type '%s'.", $xmltree->GetTag() );
|
||||
$request->PreconditionFailed( 403, 'DAV::supported-report', sprintf( '"%s" is not a supported report type', $xmltree->GetTag()) );
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user