aboutsummaryrefslogtreecommitdiff
path: root/mod/profile/views/default
diff options
context:
space:
mode:
authorben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-08-13 09:19:29 +0000
committerben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-08-13 09:19:29 +0000
commited196013255ba0a23258b956164c5c3ed927c4a9 (patch)
tree6b20e154f7561da2cebe2d10f107e6208a9d20e9 /mod/profile/views/default
parent851a05cb77d9b33e7b853ee985d8278abde55545 (diff)
downloadelgg-ed196013255ba0a23258b956164c5c3ed927c4a9.tar.gz
elgg-ed196013255ba0a23258b956164c5c3ed927c4a9.tar.bz2
The profile edit button is now wired up so that admins can edit any user.
git-svn-id: https://code.elgg.org/elgg/trunk@1874 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 fa3aeb269..44a257770 100644
--- a/mod/profile/views/default/profile/userdetails.php
+++ b/mod/profile/views/default/profile/userdetails.php
@@ -62,7 +62,7 @@
?>
<p class="profile_info_edit_buttons">
- <a href="<?php echo $vars['url']; ?>mod/profile/edit.php"><?php echo elgg_echo("profile:editdetails"); ?></a>
+ <a href="<?php echo $vars['url']; ?>mod/profile/edit.php?username=<?php echo $vars['entity']->username; ?>"><?php echo elgg_echo("profile:editdetails"); ?></a>
</p>
<?php