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.
This commit is contained in:
myk%mozilla.org 2001-08-31 21:40:33 +00:00
Родитель 9f5f49e9a5
Коммит dbd90ba1be
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

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