From 41b4d957566d1e66153465b912a27318342a6a0a Mon Sep 17 00:00:00 2001 From: "dave%intrec.com" <> Date: Mon, 12 Mar 2001 02:54:05 +0000 Subject: Fix for bug 71606: Duplicates not getting marked in comments which bug they're a dupe of. --- process_bug.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'process_bug.cgi') diff --git a/process_bug.cgi b/process_bug.cgi index 68d71b7a5..41b0877f4 100755 --- a/process_bug.cgi +++ b/process_bug.cgi @@ -548,6 +548,7 @@ SWITCH: for ($::FORM{'knob'}) { PuntTryAgain("The bug id $::FORM{'id'} is invalid. Please reload this bug ". "and try again."); } + $::FORM{'comment'} .= "\n\n*** This bug has been marked as a duplicate of $num ***"; $duplicate = $num; last SWITCH; @@ -1007,7 +1008,6 @@ The changes made were: CheckFormFieldDefined(\%::FORM,'comment'); } SendSQL("INSERT INTO duplicates VALUES ($duplicate, $::FORM{'id'})"); - $::FORM{'comment'} .= "\n\n*** This bug has been marked as a duplicate of $duplicate ***"; print "

Duplicate notation added to bug $duplicate

\n"; system("./processmail", $duplicate, $::FORM{'who'}); print "
Go To BUG# $duplicate
\n"; -- cgit v1.2.3-24-g4f1b