]> 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:43:18 +0000 (00:43 +0800)
committerByron Jones <bjones@mozilla.com>
Mon, 5 Dec 2011 16:43:18 +0000 (00:43 +0800)
r=LpSolit, a=LpSolit

Bugzilla/Auth.pm

index 7829538784bb55c43f79d9740f83ba010f8b8835..0d9ae451fdcee96aaa451616b0900bd9b2e6ab5f 100644 (file)
@@ -207,7 +207,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,