aboutsummaryrefslogtreecommitdiff
path: root/mod/messages/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/messages/index.php')
-rw-r--r--mod/messages/index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/messages/index.php b/mod/messages/index.php
index 0f793a9f6..5f4a483be 100644
--- a/mod/messages/index.php
+++ b/mod/messages/index.php
@@ -46,4 +46,4 @@ $body = elgg_view_layout("one_column_with_sidebar", $area2);
// Draw page
-page_draw(sprintf(elgg_echo('messages:user'),$page_owner->name),$body);
+echo elgg_view_page(sprintf(elgg_echo('messages:user'),$page_owner->name),$body);