aboutsummaryrefslogtreecommitdiff
path: root/mod
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-07-22 11:42:32 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-07-22 11:42:32 +0000
commitff1e60a25a3e067105a375b366c2946bc1712fe1 (patch)
treefbcf51638492ab26e72fa2833c3b64e1c8d5798d /mod
parent1af0b8ad001759b31677d08121b557fc8303273c (diff)
downloadelgg-ff1e60a25a3e067105a375b366c2946bc1712fe1.tar.gz
elgg-ff1e60a25a3e067105a375b366c2946bc1712fe1.tar.bz2
Minor bugfix on username
git-svn-id: https://code.elgg.org/elgg/trunk@3410 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod')
-rw-r--r--mod/profile/views/default/profile/editicon.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/mod/profile/views/default/profile/editicon.php b/mod/profile/views/default/profile/editicon.php
index b36da2c4f..2b527fac7 100644
--- a/mod/profile/views/default/profile/editicon.php
+++ b/mod/profile/views/default/profile/editicon.php
@@ -38,13 +38,12 @@
<div id="profile_picture_form">
<form action="<?php echo $vars['url']; ?>action/profile/iconupload" method="post" enctype="multipart/form-data">
<?php echo elgg_view('input/securitytoken'); ?>
- <input type="hidden" name="username" value="<?php echo $vars['user']->username; ?>" />
+ <input type="hidden" name="username" value="<?php echo $currentuser->username; ?>" />
<p><label><?php echo elgg_echo("profile:editicon"); ?></label><br />
<?php
-
+
echo elgg_view("input/file",array('internalname' => 'profileicon'));
-
?>
<br /><input type="submit" class="submit_button" value="<?php echo elgg_echo("upload"); ?>" />
</p>