From 55f2853ec8b29dd8ca557c0dd82cd0de50946ec0 Mon Sep 17 00:00:00 2001 From: marcus Date: Mon, 4 Aug 2008 17:07:35 +0000 Subject: Error message bugfix git-svn-id: https://code.elgg.org/elgg/trunk@1688 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/xml-rpc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3