aboutsummaryrefslogtreecommitdiff
path: root/mod/profile/views/default
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-03-07 22:07:12 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-03-07 22:07:12 +0000
commit50ccb3723e707aee32ecb0c5be0637b62bbc19e2 (patch)
treeb56ae54f081bf75b8155c447e8f5831ae2fbceab /mod/profile/views/default
parent59071bb6641c64567bc1d4ed75c515f991e259a9 (diff)
downloadelgg-50ccb3723e707aee32ecb0c5be0637b62bbc19e2.tar.gz
elgg-50ccb3723e707aee32ecb0c5be0637b62bbc19e2.tar.bz2
Closes #851: Fixed regression. It is now possible for an admin to edit another user's profile consistent with 1.2
git-svn-id: https://code.elgg.org/elgg/trunk@3126 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/profile/views/default')
-rw-r--r--mod/profile/views/default/profile/userdetails.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/profile/views/default/profile/userdetails.php b/mod/profile/views/default/profile/userdetails.php
index 169eae92e..9cc415dd5 100644
--- a/mod/profile/views/default/profile/userdetails.php
+++ b/mod/profile/views/default/profile/userdetails.php
@@ -63,7 +63,7 @@
?>
<p class="profile_info_edit_buttons">
- <a href="<?php echo $vars['url']; ?>mod/profile/edit.php"><?php echo elgg_echo("profile:edit"); ?></a>
+ <a href="<?php echo $vars['url']; ?>mod/profile/edit.php?username=<?php echo $vars['entity']->username; ?>"><?php echo elgg_echo("profile:edit"); ?></a>
</p>
<?php