From: bbaetz%student.usyd.edu.au <> Date: Tue, 3 Sep 2002 13:39:01 +0000 (+0000) Subject: bug 163024 - bugzilla_email_append calls processmail incorrectly X-Git-Tag: bugzilla-2.17.1~155 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4a4b36472dbe6a16666e21b7f9811b1bc2c265fa;p=thirdparty%2Fbugzilla.git bug 163024 - bugzilla_email_append calls processmail incorrectly r=joel, preed --- diff --git a/contrib/bugzilla_email_append.pl b/contrib/bugzilla_email_append.pl index 7e1de847ba..2ed39c4823 100755 --- a/contrib/bugzilla_email_append.pl +++ b/contrib/bugzilla_email_append.pl @@ -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) = @_;