aboutsummaryrefslogtreecommitdiff
path: root/mod/messages/read.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/messages/read.php')
-rw-r--r--mod/messages/read.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/mod/messages/read.php b/mod/messages/read.php
index 740011c3e..4e404de5c 100644
--- a/mod/messages/read.php
+++ b/mod/messages/read.php
@@ -48,7 +48,11 @@ $content = elgg_view("messages/messages",array(
$sidebar = elgg_view("messages/menu_options");
-$body = elgg_view_layout("one_column_with_sidebar", $content, $sidebar);
+$params = array(
+ 'content' => $content,
+ 'sidebar' => $sidebar
+);
+$body = elgg_view_layout("one_column_with_sidebar", $params);
// Display page
echo elgg_view_page(elgg_echo('messages:message'), $body); \ No newline at end of file