diff options
Diffstat (limited to 'views/default/user/settings/email.php')
-rw-r--r-- | views/default/user/settings/email.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/views/default/user/settings/email.php b/views/default/user/settings/email.php index 6b14504c7..f8dfaecaa 100644 --- a/views/default/user/settings/email.php +++ b/views/default/user/settings/email.php @@ -10,7 +10,7 @@ * @link http://elgg.org/ */ - $user = $_SESSION['user']; + $user = page_owner_entity(); if ($user) { ?> |