aboutsummaryrefslogtreecommitdiffstats
path: root/relogin.cgi
diff options
context:
space:
mode:
authorByron Jones <bjones@mozilla.com>2011-07-25 22:16:26 +0800
committerByron Jones <bjones@mozilla.com>2011-07-25 22:16:26 +0800
commit037942d0b264bc6b11a67e1e3c84d6a215748558 (patch)
tree5dbb28c535e42453304e09db543b9675cb2143fb /relogin.cgi
parent7ddff2f30647abe482a19a9fd38a44383c5b0242 (diff)
downloadbugs-037942d0b264bc6b11a67e1e3c84d6a215748558.tar
bugs-037942d0b264bc6b11a67e1e3c84d6a215748558.tar.gz
bugs-037942d0b264bc6b11a67e1e3c84d6a215748558.tar.bz2
bugs-037942d0b264bc6b11a67e1e3c84d6a215748558.tar.xz
bugs-037942d0b264bc6b11a67e1e3c84d6a215748558.zip
Bug 589128: Adds a preference allowing users to choose between text or html
for bugmail. r=LpSolit, a=LpSolit
Diffstat (limited to 'relogin.cgi')
-rwxr-xr-xrelogin.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/relogin.cgi b/relogin.cgi
index f6a410c05..07796f9f6 100755
--- a/relogin.cgi
+++ b/relogin.cgi
@@ -164,7 +164,7 @@ elsif ($action eq 'begin-sudo') {
# Go ahead and send out the message now
my $message;
- my $mail_template = Bugzilla->template_inner($target_user->settings->{'lang'}->{'value'});
+ my $mail_template = Bugzilla->template_inner($target_user->setting('lang'));
$mail_template->process('email/sudo.txt.tmpl', { reason => $reason }, \$message);
MessageToMTA($message);