mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-08-23 17:26:02 +00:00
Correct syntax of error response for unprocessable requests.
This commit is contained in:
parent
0d3005a72d
commit
f0445ed93f
@ -472,7 +472,7 @@ class CalDAVRequest
|
||||
dbg_error_log("ERROR", " %s: Support for $v:$k properties is not implemented yet", $this->method );
|
||||
$badprops->NewElement(strtolower($k),false,array("xmlns" => strtolower($v)));
|
||||
}
|
||||
$error = new XMLElement("error", new XMLElement( "LOCK",$badprops), array("xmlns" => "DAV:") );
|
||||
$error = new XMLElement("error", $badprops, array("xmlns" => "DAV:") );
|
||||
|
||||
$this->XMLResponse( 422, $error );
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user