Browse files

Changed an error code in XML-RPC interface.

This error hasn't anything to do with the rest of the -32600 errors.
  • Loading branch information...
1 parent 23cee12 commit 586bfa91f239ca0bd7d90be35d5d81fb4edaa5d1 @timroes timroes committed Apr 4, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 inc/IXR_Library.php
View
2 inc/IXR_Library.php
@@ -440,7 +440,7 @@ function multiCall($methodcalls) {
$method = $call['methodName'];
$params = $call['params'];
if ($method == 'system.multicall') {
- $result = new IXR_Error(-32600, 'Recursive calls to system.multicall are forbidden');
+ $result = new IXR_Error(-32800, 'Recursive calls to system.multicall are forbidden');
} else {
$result = $this->call($method, $params);
}

0 comments on commit 586bfa9

Please sign in to comment.