summaryrefslogtreecommitdiff
path: root/includes/xmlrpcs.inc
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2005-10-22 15:14:46 +0000
committerDries Buytaert <dries@buytaert.net>2005-10-22 15:14:46 +0000
commitf6764cfbd8dcdedd05263711a41fcedb72dda2ab (patch)
tree88f659fea364fc50d3173da0c5a8bdbc28be8557 /includes/xmlrpcs.inc
parent07ecb2abb0206484a77acbf5ba767af856d99520 (diff)
downloadbrdo-f6764cfbd8dcdedd05263711a41fcedb72dda2ab.tar.gz
brdo-f6764cfbd8dcdedd05263711a41fcedb72dda2ab.tar.bz2
- Patch #30930 by m3avrck/deekayen: cured PHP5 warnings.
Diffstat (limited to 'includes/xmlrpcs.inc')
-rw-r--r--includes/xmlrpcs.inc6
1 files changed, 4 insertions, 2 deletions
diff --git a/includes/xmlrpcs.inc b/includes/xmlrpcs.inc
index 26b004159..35acdeb95 100644
--- a/includes/xmlrpcs.inc
+++ b/includes/xmlrpcs.inc
@@ -124,7 +124,8 @@ function xmlrpc_server_multicall($methodcalls) {
$params = $call['params'];
if ($method == 'system.multicall') {
$result = xmlrpc_error(-32600, t('Recursive calls to system.multicall are forbidden'));
- } else {
+ }
+ else {
$result = xmlrpc_server_call($xmlrpc_server, $method, $params);
}
if ($result->is_error) {
@@ -132,7 +133,8 @@ function xmlrpc_server_multicall($methodcalls) {
'faultCode' => $result->code,
'faultString' => $result->message
);
- } else {
+ }
+ else {
$return[] = $result;
}
}