summaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
authorDylan William Hardison <dylan@hardison.net>2016-12-20 15:31:05 +0100
committerDylan William Hardison <dylan@hardison.net>2016-12-20 15:31:05 +0100
commit574643ad6a9d62063f2d47f82328c1a4b7f5979d (patch)
tree0d65108030fd419105c78e722402e977dce3ab60 /template
parente0040665d073cb044bcee0aac730d8fca175d852 (diff)
downloadbugzilla-574643ad6a9d62063f2d47f82328c1a4b7f5979d.tar.gz
bugzilla-574643ad6a9d62063f2d47f82328c1a4b7f5979d.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 %]