git://git.onelab.eu
/
plcapi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
02e2bf7
)
whitespace
author
gggeek
<giunta.gaetano@gmail.com>
Thu, 26 Jan 2023 16:34:44 +0000
(16:34 +0000)
committer
gggeek
<giunta.gaetano@gmail.com>
Thu, 26 Jan 2023 16:34:44 +0000
(16:34 +0000)
lib/xmlrpc_wrappers.inc
patch
|
blob
|
history
diff --git
a/lib/xmlrpc_wrappers.inc
b/lib/xmlrpc_wrappers.inc
index
04c993e
..
f312fa5
100644
(file)
--- a/
lib/xmlrpc_wrappers.inc
+++ b/
lib/xmlrpc_wrappers.inc
@@
-108,7
+108,7
@@
function wrap_xmlrpc_method($client, $methodName, $extraOptions=0, $timeout=0, $
$wrapper = new PhpXmlRpc\Wrapper();
- if (!isset($extraOptions['return_source'])
|| $extraOptions['return_source'] == false) {
+ if (!isset($extraOptions['return_source']) || $extraOptions['return_source'] == false) {
// backwards compat: return string instead of callable
$extraOptions['return_source'] = true;
$wrapped = $wrapper->wrapXmlrpcMethod($client, $methodName, $extraOptions);