From a8024d26339d8136f5064831267da398ef69ff67 Mon Sep 17 00:00:00 2001 From: Andrew McMillan Date: Tue, 23 Aug 2011 10:47:00 +1200 Subject: [PATCH] Fix XML output of block. --- inc/CalDAVRequest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/CalDAVRequest.php b/inc/CalDAVRequest.php index fe795fc7..afb84843 100644 --- a/inc/CalDAVRequest.php +++ b/inc/CalDAVRequest.php @@ -1080,7 +1080,7 @@ EOSQL; $xmldoc = sprintf(' <%s/>%s -', $precondition, $explanation ); +', str_replace('DAV::', '', $precondition), $explanation ); $this->DoResponse( $status, $xmldoc, 'text/xml; charset="utf-8"' ); exit(0); // Unecessary, but might clarify things