aboutsummaryrefslogtreecommitdiff
path: root/mod/profile/start.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/profile/start.php')
-rw-r--r--mod/profile/start.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/profile/start.php b/mod/profile/start.php
index 6cebf88c0..dab12b12d 100644
--- a/mod/profile/start.php
+++ b/mod/profile/start.php
@@ -173,7 +173,7 @@ function profile_pagesetup()
global $CONFIG;
//add submenu options
- if (get_context() == "profile") {
+ if (elgg_get_context() == "profile") {
$page_owner = elgg_get_page_owner();
if ($page_owner && $page_owner->canEdit()) {
add_submenu_item(elgg_echo('profile:editdetails'), "pg/profile/{$page_owner->username}/edit/details");