summaryrefslogtreecommitdiffstats
path: root/whine.pl
diff options
context:
space:
mode:
Diffstat (limited to 'whine.pl')
-rwxr-xr-xwhine.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/whine.pl b/whine.pl
index 872061fb6..7b8809c25 100755
--- a/whine.pl
+++ b/whine.pl
@@ -367,7 +367,7 @@ sub mail {
# Don't send mail to someone whose bugmail notification is disabled.
return if $addressee->email_disabled;
- my $template = Bugzilla->template_inner($addressee->settings->{'lang'}->{'value'});
+ my $template = Bugzilla->template_inner($addressee->setting('lang'));
my $msg = ''; # it's a temporary variable to hold the template output
$args->{'alternatives'} ||= [];