summaryrefslogtreecommitdiff
path: root/inc/IXR_Library.php
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2009-02-21 13:52:06 +0100
committerAndreas Gohr <andi@splitbrain.org>2009-02-21 13:52:06 +0100
commit7558821bb652d5818464777c961cd754c0b759bc (patch)
tree70e7217209c6cc21e2244656f24e33949c3f9cbb /inc/IXR_Library.php
parent28ec3c7605a29a1a0585f1c368645424c233118e (diff)
downloadrpg-7558821bb652d5818464777c961cd754c0b759bc.tar.gz
rpg-7558821bb652d5818464777c961cd754c0b759bc.tar.bz2
fixed error reporting in XMLRPC client
Ignore-this: 4d1b83deb38aa6192cfe53cecdc6b6f6 darcs-hash:20090221125206-7ad00-44d6a3c5a11d6042c2fc6e41bd7f309a382a55dc.gz
Diffstat (limited to 'inc/IXR_Library.php')
-rw-r--r--inc/IXR_Library.php4
1 files changed, 2 insertions, 2 deletions
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