From 848da716b1624bd53d7ab18dde22b09b2a0163b9 Mon Sep 17 00:00:00 2001 From: Byron Jones Date: Tue, 6 Dec 2011 00:40:06 +0800 Subject: Bug 707594: Fix broken account lockout notifications r=LpSolit, a=LpSolit --- Bugzilla/Auth.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Bugzilla') diff --git a/Bugzilla/Auth.pm b/Bugzilla/Auth.pm index 9ee5ec7fa..45034e166 100644 --- a/Bugzilla/Auth.pm +++ b/Bugzilla/Auth.pm @@ -213,7 +213,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, -- cgit v1.2.3-24-g4f1b