]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Fix for bug 71606: Duplicates not getting marked in comments which bug they're a...
authordave%intrec.com <>
Mon, 12 Mar 2001 02:54:05 +0000 (02:54 +0000)
committerdave%intrec.com <>
Mon, 12 Mar 2001 02:54:05 +0000 (02:54 +0000)
process_bug.cgi

index 68d71b7a5e88aa18421520e89c2661f2177867bf..41b0877f49d44a0ecfdf691f4f12ab1f32881f67 100755 (executable)
@@ -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 "<TABLE BORDER=1><TD><H2>Duplicate notation added to bug $duplicate</H2>\n";
         system("./processmail", $duplicate, $::FORM{'who'});
         print "<TD><A HREF=\"show_bug.cgi?id=$duplicate\">Go To BUG# $duplicate</A></TABLE>\n";