]> 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:01 +0000 (13:39 +0000)
committerbbaetz%student.usyd.edu.au <>
Tue, 3 Sep 2002 13:39:01 +0000 (13:39 +0000)
r=joel, preed

contrib/bugzilla_email_append.pl

index 7e1de847bad5f6cc2fe26ddb1d3f0afae2225c80..2ed39c4823aa6a9ebdfa931425e363840f5dbdbc 100755 (executable)
@@ -116,7 +116,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) = @_;