From: myk%mozilla.org <> Date: Sat, 1 Sep 2001 04:40:33 +0000 (+0000) Subject: Fix for bug 97764: Fixes errant sending of mail on attachment changes to users who... X-Git-Tag: bugzilla-2.14.1~166 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=13ec5d3f1252b76510b6489faad69f4704ada1d7;p=thirdparty%2Fbugzilla.git 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 . r=myk@mozilla.org; no second review needed. --- diff --git a/attachment.cgi b/attachment.cgi index e0b7237348..9308b1d737 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 ; close(PMAIL);