aboutsummaryrefslogtreecommitdiff
path: root/views/default/user
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-09-24 09:32:17 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-09-24 09:32:17 +0000
commited03741d19af4433518fff74630ea6e1ccf4d51c (patch)
treea652a50fa0a1387947cbca450796f842b199ed37 /views/default/user
parentb35e8cbe9e9776d86be034365c1033b61497bbb0 (diff)
downloadelgg-ed03741d19af4433518fff74630ea6e1ccf4d51c.tar.gz
elgg-ed03741d19af4433518fff74630ea6e1ccf4d51c.tar.bz2
Closes #362: Nice spot.
Cause was an omission of the user being edited being passed. No security issues introduced by having this user set, since editing user must still pass a canEdit() in the action itself. git-svn-id: https://code.elgg.org/elgg/trunk@2108 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/user')
-rw-r--r--views/default/user/settings/name.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/default/user/settings/name.php b/views/default/user/settings/name.php
index 58cc994e0..3a317cf22 100644
--- a/views/default/user/settings/name.php
+++ b/views/default/user/settings/name.php
@@ -20,7 +20,7 @@
<?php
echo elgg_view('input/text',array('internalname' => 'name', 'value' => $user->name));
-
+ echo elgg_view('input/hidden',array('internalname' => 'guid', 'value' => $user->guid));
?>
</p>