]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Fix for bug 97764: Fixes errant sending of mail on attachment changes to users who...
authormyk%mozilla.org <>
Sat, 1 Sep 2001 04:40:33 +0000 (04:40 +0000)
committermyk%mozilla.org <>
Sat, 1 Sep 2001 04:40:33 +0000 (04:40 +0000)
Patch by Jake <jake@acutex.net>.
r=myk@mozilla.org; no second review needed.

attachment.cgi

index e0b7237348d5d6de58a2d76c02e363dc16c916d3..9308b1d73786d457a04d9ab83766600dd4516b9d 100755 (executable)
@@ -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);