aboutsummaryrefslogtreecommitdiff
path: root/views/default/user/settings/password.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/user/settings/password.php')
-rw-r--r--views/default/user/settings/password.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/default/user/settings/password.php b/views/default/user/settings/password.php
index b180609c6..a45fb621c 100644
--- a/views/default/user/settings/password.php
+++ b/views/default/user/settings/password.php
@@ -10,7 +10,7 @@
* @link http://elgg.org/
*/
- $user = $_SESSION['user'];
+ $user = page_owner_entity();
if ($user) {
?>