summaryrefslogtreecommitdiff
path: root/inc/IXR_Library.php
diff options
context:
space:
mode:
Diffstat (limited to 'inc/IXR_Library.php')
-rw-r--r--inc/IXR_Library.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/IXR_Library.php b/inc/IXR_Library.php
index cf8c6716c..34346587e 100644
--- a/inc/IXR_Library.php
+++ b/inc/IXR_Library.php
@@ -499,7 +499,7 @@ class IXR_Client extends DokuHTTPClient {
$request = new IXR_Request($method, $args);
$xml = $request->getXml();
- $this->$headers['Content-Type'] = 'text/xml';
+ $this->headers['Content-Type'] = 'text/xml';
if(!$this->sendRequest($this->posturl,$xml,'RAW')){
$this->xmlerror = new IXR_Error(-32300, 'transport error - '.$this->error);
return false;