diff options
-rw-r--r-- | Bugzilla/BugMail.pm | 4 | ||||
-rw-r--r-- | Bugzilla/Config/MTA.pm | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/Bugzilla/BugMail.pm b/Bugzilla/BugMail.pm index e4a19d65f..f065cb5fc 100644 --- a/Bugzilla/BugMail.pm +++ b/Bugzilla/BugMail.pm @@ -187,6 +187,8 @@ sub ProcessOneBug { } # Convert to names, for later display + $values{'changer'} = $changer; + $values{'changername'} = Bugzilla::User->new_from_login($changer)->name; $values{'assigned_to'} = &::DBID_to_name($values{'assigned_to'}); $values{'reporter'} = &::DBID_to_name($values{'reporter'}); if ($values{'qa_contact'}) { @@ -610,6 +612,8 @@ sub sendMail { $substs{"reasonsheader"} = join(" ", map { $rel_names{$_} } @$relRef); $substs{"reasonsbody"} = $reasonsbody; $substs{"space"} = " "; + $substs{"changer"} = $values{'changer'}; + $substs{"changername"} = $values{'changername'}; if ($isnew) { $substs{'threadingmarker'} = "Message-ID: <bug-$id-" . $user->id . "$sitespec>"; diff --git a/Bugzilla/Config/MTA.pm b/Bugzilla/Config/MTA.pm index 50aa8c85d..4d2cd6703 100644 --- a/Bugzilla/Config/MTA.pm +++ b/Bugzilla/Config/MTA.pm @@ -91,6 +91,7 @@ X-Bugzilla-Product: %product% X-Bugzilla-Component: %component% X-Bugzilla-Keywords: %keywords% X-Bugzilla-Severity: %severity% +X-Bugzilla-Who: %changer% %urlbase%show_bug.cgi?id=%bugid% |