diff options
Diffstat (limited to 'mod/profile/views/default/profile/admin_menu.php')
-rwxr-xr-x | mod/profile/views/default/profile/admin_menu.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/profile/views/default/profile/admin_menu.php b/mod/profile/views/default/profile/admin_menu.php index a896a0ace..e901442c2 100755 --- a/mod/profile/views/default/profile/admin_menu.php +++ b/mod/profile/views/default/profile/admin_menu.php @@ -5,7 +5,7 @@ global $CONFIG; if (isadminloggedin()){ - if ($_SESSION['id']!=elgg_get_page_owner_guid()){ + if (get_loggedin_userid()!=elgg_get_page_owner_guid()){ $user = get_user(elgg_get_page_owner_guid()); $url = $vars['url']; $ts = time(); |