From c8d988350483ce9bc1ed1ff059cd386f752f4943 Mon Sep 17 00:00:00 2001 From: Gina Haeussge <osd@foosel.net> Date: Sat, 5 Apr 2008 13:22:53 +0200 Subject: [PATCH] Fix of invalid reference to request headers in XMLRPC client darcs-hash:20080405112253-2b4f5-e69a8765cff9cc4b0373afca236488f8a2eb2751.gz --- inc/IXR_Library.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- GitLab