projects
/
platal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Take into account PlExportable interface.
[platal.git]
/
classes
/
xmlrpcclient.php
diff --git
a/classes/xmlrpcclient.php
b/classes/xmlrpcclient.php
index
dfc74da
..
c359730
100644
(file)
--- a/
classes/xmlrpcclient.php
+++ b/
classes/xmlrpcclient.php
@@
-1,6
+1,6
@@
<?php
/***************************************************************************
<?php
/***************************************************************************
- * Copyright (C) 2003-20
08
Polytechnique.org *
+ * Copyright (C) 2003-20
10
Polytechnique.org *
* http://opensource.polytechnique.org/ *
* *
* This program is free software; you can redistribute it and/or modify *
* http://opensource.polytechnique.org/ *
* *
* This program is free software; you can redistribute it and/or modify *
@@
-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));