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.php8
1 files changed, 3 insertions, 5 deletions
diff --git a/mod/profile/edit.php b/mod/profile/edit.php
index 9894ce35d..91db99a2e 100644
--- a/mod/profile/edit.php
+++ b/mod/profile/edit.php
@@ -32,15 +32,13 @@ if (!$user->canEdit()) {
}
// Get edit form
-$area2 = elgg_view_title(elgg_echo('profile:edit'));
-$area2 .= elgg_view("profile/edit",array('entity' => $user));
-
-$area1 = "";
+$area1 = elgg_view_title(elgg_echo('profile:edit'));
+$area1 .= elgg_view("profile/edit",array('entity' => $user));
set_context('profile_edit');
// get the required canvas area
-$body = elgg_view_layout("one_column_with_sidebar", $area2, $area1);
+$body = elgg_view_layout("one_column_with_sidebar", $area1);
// Draw the page
page_draw(elgg_echo("profile:edit"),$body);