From 037942d0b264bc6b11a67e1e3c84d6a215748558 Mon Sep 17 00:00:00 2001 From: Byron Jones Date: Mon, 25 Jul 2011 22:16:26 +0800 Subject: Bug 589128: Adds a preference allowing users to choose between text or html for bugmail. r=LpSolit, a=LpSolit --- whine.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'whine.pl') 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'} ||= []; -- cgit v1.2.3-24-g4f1b