diff options
Diffstat (limited to 'engine/lib/api.php')
-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 d04a7029b..706003ee0 100644 --- a/engine/lib/api.php +++ b/engine/lib/api.php @@ -80,7 +80,7 @@ * * @return stdClass Object containing the serialised result. */ - public function toStdClass() + public function export() { global $ERRORS, $CONFIG, $PAM_HANDLER_MSG; @@ -781,7 +781,7 @@ return $API_OUTPUT_FUNCTIONS[$format]($result->toStdClass()); // We got here, so no output format was found. Output an error - $result = print_r($result->toStdClass(), true); + $result = print_r($result->export(), true); return <<< END <html> |