From 574643ad6a9d62063f2d47f82328c1a4b7f5979d Mon Sep 17 00:00:00 2001 From: Dylan William Hardison Date: Tue, 20 Dec 2016 09:31:05 -0500 Subject: Bug 1313766 - Bugzilla::Bug->send_changes() should not output HTML directly --- template/en/default/bug/process/bugmail.html.tmpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'template') diff --git a/template/en/default/bug/process/bugmail.html.tmpl b/template/en/default/bug/process/bugmail.html.tmpl index 21e4ff7b7..0c4f2f27d 100644 --- a/template/en/default/bug/process/bugmail.html.tmpl +++ b/template/en/default/bug/process/bugmail.html.tmpl @@ -24,13 +24,13 @@ # sent_bugmail: The results of Bugzilla::BugMail::Send(). #%] -[% USE CGI %] +[% USE Bugzilla %] [% PROCESS global/variables.none.tmpl %] [%# hide the recipient list by default from new users %] [% show_recipients = user.settings.post_bug_submit_action.value == 'nothing' - || CGI.cookie('show_bugmail_recipients') + || Bugzilla.cgi.cookie('show_bugmail_recipients') || !user.can_see_bug(mailing_bugid) %] [% recipient_count = sent_bugmail.sent.size %] -- cgit v1.2.3-24-g4f1b