Fixes email edition from admin interface.
authorStéphane Jacob <sj@m4x.org>
Wed, 7 Jul 2010 08:21:05 +0000 (10:21 +0200)
committerStéphane Jacob <sj@m4x.org>
Wed, 7 Jul 2010 08:21:05 +0000 (10:21 +0200)
Signed-off-by: Stéphane Jacob <sj@m4x.org>
templates/admin/user.tpl

index bbec380..5c7a289 100644 (file)
@@ -389,7 +389,7 @@ $(document).ready(function() {
         <input type="text" name="email" size="29" maxlength="60" value="" />
       </td>
       <td class="action">
-        <input type="hidden" name="uid" value="{$mr.uid}" />
+        <input type="hidden" name="uid" value="{$user->id()}" />
         <input type="hidden" name="del_fwd" value="" />
         <input type="hidden" name="clean_fwd" value="" />
         <input type="hidden" name="activate_fwd" value="" />