aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2008-04-02 22:42:25 +0000
committerlpsolit%gmail.com <>2008-04-02 22:42:25 +0000
commit43b7dc314234e476a80d9acbd07292d7286cca5a (patch)
tree87c77bfa7d65b7636447232feb77fe5db1d7d8d4 /userprefs.cgi
parentBug 425599 – show_activity missing space for attachment flag changes (diff)
downloadbugzilla-43b7dc314234e476a80d9acbd07292d7286cca5a.tar.gz
bugzilla-43b7dc314234e476a80d9acbd07292d7286cca5a.tar.bz2
bugzilla-43b7dc314234e476a80d9acbd07292d7286cca5a.zip
Bug 405946: Some emails are not sent in the language chosen by the addressee - Patch by Frédéric Buclin <LpSolit@gmail.com> r=wurblzap a=LpSolit
Diffstat (limited to 'userprefs.cgi')
-rwxr-xr-xuserprefs.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/userprefs.cgi b/userprefs.cgi
index 3880b9c38..b281fd214 100755
--- a/userprefs.cgi
+++ b/userprefs.cgi
@@ -138,7 +138,7 @@ sub SaveAccount {
is_available_username($new_login_name)
|| ThrowUserError("account_exists", {email => $new_login_name});
- Bugzilla::Token::IssueEmailChangeToken($user->id, $old_login_name,
+ Bugzilla::Token::IssueEmailChangeToken($user, $old_login_name,
$new_login_name);
$vars->{'email_changes_saved'} = 1;