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 --- sanitycheck.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sanitycheck.cgi') diff --git a/sanitycheck.cgi b/sanitycheck.cgi index 6bf113b24..7d530ea4b 100755 --- a/sanitycheck.cgi +++ b/sanitycheck.cgi @@ -76,7 +76,7 @@ my $dbh = Bugzilla->dbh; # take the user prefs into account rather than querying the web browser. my $template; if (Bugzilla->usage_mode == USAGE_MODE_CMDLINE) { - $template = Bugzilla->template_inner($user->settings->{'lang'}->{'value'}); + $template = Bugzilla->template_inner($user->setting('lang')); } else { $template = Bugzilla->template; -- cgit v1.2.3-24-g4f1b