summaryrefslogtreecommitdiffstats
path: root/process_bug.cgi
diff options
context:
space:
mode:
authordave%intrec.com <>2001-03-12 03:54:05 +0100
committerdave%intrec.com <>2001-03-12 03:54:05 +0100
commit41b4d957566d1e66153465b912a27318342a6a0a (patch)
tree4f79b06b15d5f29f6c9f125279b8fe119937737c /process_bug.cgi
parentffd37760bb0b25904fa0dc7d039236c39b750b5a (diff)
downloadbugzilla-41b4d957566d1e66153465b912a27318342a6a0a.tar.gz
bugzilla-41b4d957566d1e66153465b912a27318342a6a0a.tar.xz
Fix for bug 71606: Duplicates not getting marked in comments which bug they're a dupe of.
Diffstat (limited to 'process_bug.cgi')
-rwxr-xr-xprocess_bug.cgi2
1 files changed, 1 insertions, 1 deletions
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 "<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";