From: bbaetz%student.usyd.edu.au <> Date: Tue, 3 Sep 2002 13:39:06 +0000 (+0000) Subject: bug 163024 - bugzilla_email_append calls processmail incorrectly X-Git-Tag: bugzilla-2.16.1~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fe21ebf318771435a28957db1c982492b6a0f92a;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 826b49198f..5fbd00824b 100755 --- a/contrib/bugzilla_email_append.pl +++ b/contrib/bugzilla_email_append.pl @@ -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) = @_;