projects
/
platal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Converts Banana to the new forlife/hruid scheme.
[platal.git]
/
classes
/
xmlrpcclient.php
diff --git
a/classes/xmlrpcclient.php
b/classes/xmlrpcclient.php
index
dfc74da
..
be47a70
100644
(file)
--- a/
classes/xmlrpcclient.php
+++ b/
classes/xmlrpcclient.php
@@
-109,7
+109,7
@@
class XmlrpcClient
}
$result = $this->find_and_decode_xml($answer);
if ($this->bt) {
}
$result = $this->find_and_decode_xml($answer);
if ($this->bt) {
- if (isset($result['faultCode'])) {
+ if (is
_array($result) && is
set($result['faultCode'])) {
$this->bt->update(0, $result['faultString']);
} else {
$this->bt->update(count($result));
$this->bt->update(0, $result['faultString']);
} else {
$this->bt->update(count($result));