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.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/profile/edit.php b/mod/profile/edit.php
index c6fc154ac..12ce8564a 100644
--- a/mod/profile/edit.php
+++ b/mod/profile/edit.php
@@ -31,7 +31,7 @@ if (!$user->canEdit()) {
$area1 = elgg_view_title(elgg_echo('profile:edit'));
$area1 .= elgg_view("profile/edit",array('entity' => $user));
-set_context('profile_edit');
+elgg_set_context('profile_edit');
// get the required canvas area
$body = elgg_view_layout("one_column_with_sidebar", $area1);