aboutsummaryrefslogtreecommitdiff
path: root/services/export/handler.php
diff options
context:
space:
mode:
Diffstat (limited to 'services/export/handler.php')
-rw-r--r--services/export/handler.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/services/export/handler.php b/services/export/handler.php
index 81d4222e5..9f9f9a86a 100644
--- a/services/export/handler.php
+++ b/services/export/handler.php
@@ -112,4 +112,6 @@ if (($guid != "") && ($type == "") && ($id_or_name == "")) {
throw new InvalidParameterException(elgg_echo('InvalidParameterException:MissingParameter'));
}
-echo elgg_view_page($title, elgg_view_layout('one_column_with_sidebar', elgg_view_title($title) . $body)); \ No newline at end of file
+$content = elgg_view_title($title) . $body;
+$body = elgg_view_layout('one_column_with_sidebar', array('content' => $content));
+echo elgg_view_page($title, $body); \ No newline at end of file