aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/usersettings.php
diff options
context:
space:
mode:
Diffstat (limited to 'engine/lib/usersettings.php')
-rw-r--r--engine/lib/usersettings.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/lib/usersettings.php b/engine/lib/usersettings.php
index bec202b8a..396bb6de5 100644
--- a/engine/lib/usersettings.php
+++ b/engine/lib/usersettings.php
@@ -43,7 +43,7 @@ function usersettings_pagesetup() {
global $CONFIG;
// Menu options
- if (get_context() == "settings") {
+ if (elgg_get_context() == "settings") {
$user = get_loggedin_user();
add_submenu_item(elgg_echo('usersettings:user:opt:linktext'),
$CONFIG->wwwroot . "pg/settings/user/{$user->username}/");