aboutsummaryrefslogtreecommitdiff
path: root/views/default/user/settings
diff options
context:
space:
mode:
authorben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-08-04 17:42:49 +0000
committerben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-08-04 17:42:49 +0000
commit37bb1997b95cab1dd6dbda975d4ad5120a2ba72a (patch)
treeb5efecddd387ca4b98d27792c67ede8222acf8d5 /views/default/user/settings
parentd3efed2f847ced2ecfaa536856f6a0acc4cddbfc (diff)
downloadelgg-37bb1997b95cab1dd6dbda975d4ad5120a2ba72a.tar.gz
elgg-37bb1997b95cab1dd6dbda975d4ad5120a2ba72a.tar.bz2
User changes to settings
git-svn-id: https://code.elgg.org/elgg/trunk@1690 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/user/settings')
-rw-r--r--views/default/user/settings/email.php2
-rw-r--r--views/default/user/settings/language.php2
-rw-r--r--views/default/user/settings/name.php2
-rw-r--r--views/default/user/settings/password.php2
4 files changed, 4 insertions, 4 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) {
?>
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) {
?>