summaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
authorDylan William Hardison <dylan@hardison.net>2016-11-07 21:25:06 +0100
committerDylan William Hardison <dylan@hardison.net>2016-11-07 21:25:19 +0100
commit35671f4ab3397f4c0d5ea96e0269d94c3d6bd2ac (patch)
tree019b79c2e4195081c7248ee7c3024aa2eadd465b /template
parentb15c80df9de4b5d2b72639bbcf84aa4b3c208fa6 (diff)
downloadbugzilla-35671f4ab3397f4c0d5ea96e0269d94c3d6bd2ac.tar.gz
bugzilla-35671f4ab3397f4c0d5ea96e0269d94c3d6bd2ac.tar.xz
Bug 1313766 - Bugzilla::Bug->send_changes() should not output HTML directly
Diffstat (limited to 'template')
-rw-r--r--template/en/default/bug/process/bugmail.html.tmpl4
1 files changed, 2 insertions, 2 deletions
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 %]