projects
/
platal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Release plat/al core v1.1.11
[platal.git]
/
classes
/
xmlrpcclient.php
diff --git
a/classes/xmlrpcclient.php
b/classes/xmlrpcclient.php
index
deae598
..
05cc1e7
100644
(file)
--- a/
classes/xmlrpcclient.php
+++ b/
classes/xmlrpcclient.php
@@
-109,7
+109,9
@@
class XmlrpcClient
}
if (is_null($answer)) {
Platal::page()->trigError("L'accès aux listes de diffusion n'est pas disponible actuellement.");
}
if (is_null($answer)) {
Platal::page()->trigError("L'accès aux listes de diffusion n'est pas disponible actuellement.");
- $this->bt->update(0, "Connection failed");
+ if ($this->bt) {
+ $this->bt->update(0, "Connection failed");
+ }
return null;
}
Platal::assert(starts_with($answer, 'HTTP/1.0 200 OK'), "HTTP Error:\n" . $answer,
return null;
}
Platal::assert(starts_with($answer, 'HTTP/1.0 200 OK'), "HTTP Error:\n" . $answer,