]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 707594: Fix broken account lockout notifications
authorByron Jones <bjones@mozilla.com>
Mon, 5 Dec 2011 16:44:21 +0000 (00:44 +0800)
committerByron Jones <bjones@mozilla.com>
Mon, 5 Dec 2011 16:44:21 +0000 (00:44 +0800)
r=LpSolit, a=LpSolit

Bugzilla/Auth.pm

index e3f838b3952869d62cfff2fb825c10c164b5cc86..8ed7a117c70430c40351c6641d3bf2927f27796c 100644 (file)
@@ -202,7 +202,8 @@ sub _handle_login_result {
             # account, but just an email address. So we use the
             # installation's default language for sending the email.
             my $default_settings = Bugzilla::User::Setting::get_defaults();
-            my $template = Bugzilla->template_inner($default_settings->{lang});
+            my $template = Bugzilla->template_inner(
+                               $default_settings->{lang}->{default_value});
             my $vars = {
                 locked_user => $user,
                 attempts    => $attempts,