aboutsummaryrefslogtreecommitdiff
path: root/services/api/rest_api.php
diff options
context:
space:
mode:
Diffstat (limited to 'services/api/rest_api.php')
-rw-r--r--services/api/rest_api.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/api/rest_api.php b/services/api/rest_api.php
index d5f2d9734..0f693117c 100644
--- a/services/api/rest_api.php
+++ b/services/api/rest_api.php
@@ -55,4 +55,4 @@ if (!($result instanceof GenericResult)) {
}
// Output the result
-page_draw($method, elgg_view("api/output", array("result" => $result))); \ No newline at end of file
+echo elgg_view_page($method, elgg_view("api/output", array("result" => $result))); \ No newline at end of file