]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
bug 163024 - bugzilla_email_append calls processmail incorrectly
authorbbaetz%student.usyd.edu.au <>
Tue, 3 Sep 2002 13:39:14 +0000 (13:39 +0000)
committerbbaetz%student.usyd.edu.au <>
Tue, 3 Sep 2002 13:39:14 +0000 (13:39 +0000)
r=joel, preed

contrib/bugzilla_email_append.pl

index 826b49198f2f3f68188a7c02e643ce1bc2f7e561..5fbd00824b0da00293c2395845b73109f9428370 100755 (executable)
@@ -117,7 +117,7 @@ my $Body = "Subject: " . $Subject . "\n" . $Comment;
 my $long_desc_query = "INSERT INTO longdescs SET bug_id=$found_id, who=$userid, bug_when=NOW(), thetext=" . SqlQuote($Body) . ";";
 SendSQL($long_desc_query);
 
-system("cd .. ; ./processmail $found_id '$SenderShort'");
+system("./processmail", $found_id, $SenderShort);
 
 sub DealWithError {
   my ($reason) = @_;