diff options
-rw-r--r-- | engine/lib/xml-rpc.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/lib/xml-rpc.php b/engine/lib/xml-rpc.php index 83ba17d98..e35c966b6 100644 --- a/engine/lib/xml-rpc.php +++ b/engine/lib/xml-rpc.php @@ -521,7 +521,7 @@ END; $result = $handler($parameters); if (!($result instanceof XMLRPCResponse)) - throw new InvalidParameterException(elgg_echo('InvalidParameterException:UnexpectedReturnFormat')); + throw new InvalidParameterException(sprintf(elgg_echo('InvalidParameterException:UnexpectedReturnFormat'), $parameters->getMethodName())); // Result in right format, return it. return $result; |