mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-06-03 04:00:16 +00:00
Fix XML output of <error> block.
This commit is contained in:
parent
452cd69100
commit
a8024d2633
@ -1080,7 +1080,7 @@ EOSQL;
|
||||
$xmldoc = sprintf('<?xml version="1.0" encoding="utf-8" ?>
|
||||
<error xmlns="DAV:">
|
||||
<%s/>%s
|
||||
</error>', $precondition, $explanation );
|
||||
</error>', str_replace('DAV::', '', $precondition), $explanation );
|
||||
|
||||
$this->DoResponse( $status, $xmldoc, 'text/xml; charset="utf-8"' );
|
||||
exit(0); // Unecessary, but might clarify things
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user