aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/xml-rpc.php
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-08-04 17:07:35 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-08-04 17:07:35 +0000
commit55f2853ec8b29dd8ca557c0dd82cd0de50946ec0 (patch)
tree36caf18d381e99bb7373d979f4f34a1ace604d9e /engine/lib/xml-rpc.php
parent8a30fad5bbdfd25c03a398c6f24ab33283df3f80 (diff)
downloadelgg-55f2853ec8b29dd8ca557c0dd82cd0de50946ec0.tar.gz
elgg-55f2853ec8b29dd8ca557c0dd82cd0de50946ec0.tar.bz2
Error message bugfix
git-svn-id: https://code.elgg.org/elgg/trunk@1688 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib/xml-rpc.php')
-rw-r--r--engine/lib/xml-rpc.php2
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;