aboutsummaryrefslogtreecommitdiff
path: root/mod/profile/editicon.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/profile/editicon.php')
-rw-r--r--mod/profile/editicon.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/profile/editicon.php b/mod/profile/editicon.php
index e3adef13f..4c19937b2 100644
--- a/mod/profile/editicon.php
+++ b/mod/profile/editicon.php
@@ -30,7 +30,7 @@ if (!$user->canEdit()) {
$area1 = elgg_view_title(elgg_echo('profile:createicon:header'));
$area1 .= elgg_view("profile/edit_icon", array('user' => $user));
-set_context('profile_edit');
+elgg_set_context('profile_edit');
// Get the form and correct canvas area
$body = elgg_view_layout("one_column_with_sidebar", $area1);