aboutsummaryrefslogtreecommitdiff
path: root/mod/reportedcontent
diff options
context:
space:
mode:
Diffstat (limited to 'mod/reportedcontent')
-rw-r--r--mod/reportedcontent/add.php10
1 files changed, 6 insertions, 4 deletions
diff --git a/mod/reportedcontent/add.php b/mod/reportedcontent/add.php
index 833ff38d1..1194627f1 100644
--- a/mod/reportedcontent/add.php
+++ b/mod/reportedcontent/add.php
@@ -22,8 +22,10 @@ $area2 .= elgg_view_title(elgg_echo('reportedcontent:this'), false);
$area2 .= elgg_view('reportedcontent/form');
$area3 .= elgg_echo('reportedcontent:warning');
-// Format page
-$body = elgg_view_layout('one_column_with_sidebar', $area2, $area3);
+$params = array(
+ 'content' => $area2,
+ 'sidebar' => $area3
+);
+$body = elgg_view_layout('one_column_with_sidebar', $params);
-// Draw it
-echo elgg_view_page(elgg_echo('reportedcontent:this'),$body); \ No newline at end of file
+echo elgg_view_page(elgg_echo('reportedcontent:this'), $body); \ No newline at end of file