From 7558821bb652d5818464777c961cd754c0b759bc Mon Sep 17 00:00:00 2001 From: Andreas Gohr Date: Sat, 21 Feb 2009 13:52:06 +0100 Subject: fixed error reporting in XMLRPC client Ignore-this: 4d1b83deb38aa6192cfe53cecdc6b6f6 darcs-hash:20090221125206-7ad00-44d6a3c5a11d6042c2fc6e41bd7f309a382a55dc.gz --- inc/IXR_Library.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'inc') diff --git a/inc/IXR_Library.php b/inc/IXR_Library.php index ae77f2c27..50792103c 100644 --- a/inc/IXR_Library.php +++ b/inc/IXR_Library.php @@ -525,12 +525,12 @@ class IXR_Client extends DokuHTTPClient { $this->message = new IXR_Message($this->resp_body); if (!$this->message->parse()) { // XML error - $this->error = new IXR_Error(-32700, 'parse error. not well formed'); + $this->xmlerror = new IXR_Error(-32700, 'parse error. not well formed'); return false; } // Is the message a fault? if ($this->message->messageType == 'fault') { - $this->error = new IXR_Error($this->message->faultCode, $this->message->faultString); + $this->xmlerror = new IXR_Error($this->message->faultCode, $this->message->faultString); return false; } // Message must be OK -- cgit v1.2.3