summaryrefslogtreecommitdiffstats
path: root/sanitycheck.cgi
diff options
context:
space:
mode:
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;