From: dave%intrec.com <> Date: Mon, 12 Mar 2001 02:54:05 +0000 (+0000) Subject: Fix for bug 71606: Duplicates not getting marked in comments which bug they're a... X-Git-Tag: bugzilla-2.12~46 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=41b4d957566d1e66153465b912a27318342a6a0a;p=thirdparty%2Fbugzilla.git Fix for bug 71606: Duplicates not getting marked in comments which bug they're a dupe of. --- diff --git a/process_bug.cgi b/process_bug.cgi index 68d71b7a5e..41b0877f49 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";