summaryrefslogtreecommitdiffstats
path: root/extensions/SecureMail/Extension.pm
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/SecureMail/Extension.pm')
-rw-r--r--extensions/SecureMail/Extension.pm4
1 files changed, 3 insertions, 1 deletions
diff --git a/extensions/SecureMail/Extension.pm b/extensions/SecureMail/Extension.pm
index 582b9e127..b43c82346 100644
--- a/extensions/SecureMail/Extension.pm
+++ b/extensions/SecureMail/Extension.pm
@@ -557,10 +557,12 @@ sub _make_secure {
# No encryption key provided; send a generic, safe email.
my $template = Bugzilla->template;
my $message;
+ my $email_type = $email->header('X-Bugzilla-Type');
my $vars = {
'urlbase' => correct_urlbase(),
'bug_id' => $bug_id,
- 'maintainer' => Bugzilla->params->{'maintainer'}
+ 'maintainer' => Bugzilla->params->{'maintainer'},
+ 'email_type' => $email_type
};
$template->process('account/email/encryption-required.txt.tmpl',