From c6a1451f147e7c6a5590dd1d6f1acd1323b0ba1e Mon Sep 17 00:00:00 2001 From: Andrew McMillan Date: Fri, 9 Sep 2011 22:53:03 +1200 Subject: [PATCH] Fix unassigned variable warning. --- inc/CalDAVRequest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/CalDAVRequest.php b/inc/CalDAVRequest.php index 07e2029b..dfe846d4 100644 --- a/inc/CalDAVRequest.php +++ b/inc/CalDAVRequest.php @@ -126,7 +126,7 @@ class CalDAVRequest } if ( $this->method == 'PROPFIND' || $this->method == 'REPORT' ) { if ( !preg_match( '{^(text|application)/xml$}', $this->content_type ) ) { - dbg_error_log( "LOG request", 'Request is "%s" but client set content-type to "%s". Assuming they meant XML!', + @dbg_error_log( "LOG request", 'Request is "%s" but client set content-type to "%s". Assuming they meant XML!', $request->method, $this->content_type ); $this->content_type = 'text/xml'; }