From: Byron Jones Date: Mon, 5 Dec 2011 16:43:18 +0000 (+0800) Subject: Bug 707594: Fix broken account lockout notifications X-Git-Tag: bugzilla-4.0.3~10 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9f279286b82a759716bc4c07a1c385fb83fa85c6;p=thirdparty%2Fbugzilla.git Bug 707594: Fix broken account lockout notifications r=LpSolit, a=LpSolit --- diff --git a/Bugzilla/Auth.pm b/Bugzilla/Auth.pm index 7829538784..0d9ae451fd 100644 --- a/Bugzilla/Auth.pm +++ b/Bugzilla/Auth.pm @@ -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,