summaryrefslogtreecommitdiffstats
path: root/sanitycheck.cgi
diff options
context:
space:
mode:
authorByron Jones <bjones@mozilla.com>2011-07-25 16:16:26 +0200
committerByron Jones <bjones@mozilla.com>2011-07-25 16:16:26 +0200
commit037942d0b264bc6b11a67e1e3c84d6a215748558 (patch)
tree5dbb28c535e42453304e09db543b9675cb2143fb /sanitycheck.cgi
parent7ddff2f30647abe482a19a9fd38a44383c5b0242 (diff)
downloadbugzilla-037942d0b264bc6b11a67e1e3c84d6a215748558.tar.gz
bugzilla-037942d0b264bc6b11a67e1e3c84d6a215748558.tar.xz
Bug 589128: Adds a preference allowing users to choose between text or html
for bugmail. r=LpSolit, a=LpSolit
Diffstat (limited to 'sanitycheck.cgi')
-rwxr-xr-xsanitycheck.cgi2
1 files changed, 1 insertions, 1 deletions
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;