aboutsummaryrefslogtreecommitdiff
path: root/services
diff options
context:
space:
mode:
Diffstat (limited to 'services')
-rw-r--r--services/api/rest_api.php2
-rw-r--r--services/export/handler.php2
2 files changed, 2 insertions, 2 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
diff --git a/services/export/handler.php b/services/export/handler.php
index 33f4c2ac5..21336bbec 100644
--- a/services/export/handler.php
+++ b/services/export/handler.php
@@ -112,4 +112,4 @@ if (($guid != "") && ($type == "") && ($id_or_name == "")) {
throw new InvalidParameterException(elgg_echo('InvalidParameterException:MissingParameter'));
}
-page_draw($title, elgg_view_layout('one_column_with_sidebar', elgg_view_title($title) . $body)); \ No newline at end of file
+echo elgg_view_page($title, elgg_view_layout('one_column_with_sidebar', elgg_view_title($title) . $body)); \ No newline at end of file