summaryrefslogtreecommitdiffstats
path: root/attachment.cgi
diff options
context:
space:
mode:
authormyk%mozilla.org <>2001-09-01 06:40:33 +0200
committermyk%mozilla.org <>2001-09-01 06:40:33 +0200
commit13ec5d3f1252b76510b6489faad69f4704ada1d7 (patch)
tree894217c2e33d4be75e91253bf79b4b5b531e638e /attachment.cgi
parent478ae87e939bf51e5bfc4dcfe8f9e5f2aca4781f (diff)
downloadbugzilla-13ec5d3f1252b76510b6489faad69f4704ada1d7.tar.gz
bugzilla-13ec5d3f1252b76510b6489faad69f4704ada1d7.tar.xz
Fix for bug 97764: Fixes errant sending of mail on attachment changes to users who do not want to receive mail about their own changes.
Patch by Jake <jake@acutex.net>. r=myk@mozilla.org; no second review needed.
Diffstat (limited to 'attachment.cgi')
-rwxr-xr-xattachment.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/attachment.cgi b/attachment.cgi
index e0b723734..9308b1d73 100755
--- a/attachment.cgi
+++ b/attachment.cgi
@@ -499,7 +499,7 @@ sub update
#system ("./processmail", $bugid , $::userid);
#my $mailresults = `./processmail $bugid $::userid`;
my $mailresults = '';
- open(PMAIL, "-|") or exec('./processmail', $bugid, $::userid);
+ open(PMAIL, "-|") or exec('./processmail', $bugid, DBID_to_name($::userid));
$mailresults .= $_ while <PMAIL>;
close(PMAIL);