aboutsummaryrefslogtreecommitdiff
path: root/mod/profile/edit.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/profile/edit.php')
-rw-r--r--mod/profile/edit.php6
1 files changed, 2 insertions, 4 deletions
diff --git a/mod/profile/edit.php b/mod/profile/edit.php
index 12ce8564a..bef1cc094 100644
--- a/mod/profile/edit.php
+++ b/mod/profile/edit.php
@@ -33,8 +33,6 @@ $area1 .= elgg_view("profile/edit",array('entity' => $user));
elgg_set_context('profile_edit');
-// get the required canvas area
-$body = elgg_view_layout("one_column_with_sidebar", $area1);
+$body = elgg_view_layout("one_column_with_sidebar", array('content' => $area1));
-// Draw the page
-echo elgg_view_page(elgg_echo("profile:edit"),$body);
+echo elgg_view_page(elgg_echo("profile:edit"), $body);