diff options
author | icewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-03-28 18:47:32 +0000 |
---|---|---|
committer | icewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-03-28 18:47:32 +0000 |
commit | 42798f58cb8c291e435c9db413d3a479940bf3b1 (patch) | |
tree | 57bf90ef21eae7f51ea476af49f83f3e6a6d2d1c /engine/lib | |
parent | f37e894f9c722f4c7f17d1f3e655e8584da1e4b9 (diff) | |
download | elgg-42798f58cb8c291e435c9db413d3a479940bf3b1.tar.gz elgg-42798f58cb8c291e435c9db413d3a479940bf3b1.tar.bz2 |
Marcus Povey <marcus@dushka.co.uk>
*
git-svn-id: https://code.elgg.org/elgg/trunk@289 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib')
-rw-r--r-- | engine/lib/api.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/lib/api.php b/engine/lib/api.php index 706003ee0..e7d6cc4a1 100644 --- a/engine/lib/api.php +++ b/engine/lib/api.php @@ -17,7 +17,7 @@ * @class GenericResult Result superclass. * @author Marcus Povey <marcus@dushka.co.uk> */ - abstract class GenericResult + abstract class GenericResult { /** * The status of the result. @@ -778,7 +778,7 @@ (array_key_exists($format, $API_OUTPUT_FUNCTIONS)) && (is_callable($API_OUTPUT_FUNCTIONS[$format])) ) - return $API_OUTPUT_FUNCTIONS[$format]($result->toStdClass()); + return $API_OUTPUT_FUNCTIONS[$format]($result->export()); // We got here, so no output format was found. Output an error $result = print_r($result->export(), true); |