From 43b7dc314234e476a80d9acbd07292d7286cca5a Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Wed, 2 Apr 2008 22:42:25 +0000 Subject: Bug 405946: Some emails are not sent in the language chosen by the addressee - Patch by Frédéric Buclin r=wurblzap a=LpSolit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- userprefs.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'userprefs.cgi') 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; -- cgit v1.2.3-24-g4f1b