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.


git-svn-id: svn://10.0.0.236/trunk@102103 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
myk%mozilla.org
2001-08-31 21:40:33 +00:00
parent b4652869c1
commit ef156af3ff

View File

@@ -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);