From 37bb1997b95cab1dd6dbda975d4ad5120a2ba72a Mon Sep 17 00:00:00 2001 From: ben Date: Mon, 4 Aug 2008 17:42:49 +0000 Subject: User changes to settings git-svn-id: https://code.elgg.org/elgg/trunk@1690 36083f99-b078-4883-b0ff-0f9b5a30f544 --- views/default/notifications/settings/usersettings.php | 2 +- views/default/user/settings/email.php | 2 +- views/default/user/settings/language.php | 2 +- views/default/user/settings/name.php | 2 +- views/default/user/settings/password.php | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) (limited to 'views') diff --git a/views/default/notifications/settings/usersettings.php b/views/default/notifications/settings/usersettings.php index 2792ccd4a..f1609d150 100644 --- a/views/default/notifications/settings/usersettings.php +++ b/views/default/notifications/settings/usersettings.php @@ -11,7 +11,7 @@ */ global $NOTIFICATION_HANDLERS; - $notification_settings = get_user_notification_settings(); + $notification_settings = get_user_notification_settings(page_owner()); ?>

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) { ?> diff --git a/views/default/user/settings/language.php b/views/default/user/settings/language.php index 0dbe66b26..43dc91e61 100644 --- a/views/default/user/settings/language.php +++ b/views/default/user/settings/language.php @@ -11,7 +11,7 @@ */ global $CONFIG; - $user = $_SESSION['user']; + $user = page_owner_entity(); if ($user) { ?> diff --git a/views/default/user/settings/name.php b/views/default/user/settings/name.php index 0faac2428..57b1a1050 100644 --- a/views/default/user/settings/name.php +++ b/views/default/user/settings/name.php @@ -10,7 +10,7 @@ * @link http://elgg.org/ */ - $user = $_SESSION['user']; + $user = page_owner_entity(); if ($user) { ?> 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) { ?> -- cgit v1.2.3