summaryrefslogtreecommitdiffstats
path: root/process_bug.cgi
diff options
context:
space:
mode:
authorterry%mozilla.org <>1999-05-11 08:12:49 +0200
committerterry%mozilla.org <>1999-05-11 08:12:49 +0200
commita1c55275b03a1c5fe5dcc27af02c65a0f99e1650 (patch)
treefe26976977f8555c51831403a6da7d6f916ac700 /process_bug.cgi
parent2154a3e1137e8888d7f4a313bed7914018dde4d8 (diff)
downloadbugzilla-a1c55275b03a1c5fe5dcc27af02c65a0f99e1650.tar.gz
bugzilla-a1c55275b03a1c5fe5dcc27af02c65a0f99e1650.tar.xz
Remember the 'changedin' field when memorizing queries.
Diffstat (limited to 'process_bug.cgi')
-rwxr-xr-xprocess_bug.cgi19
1 files changed, 11 insertions, 8 deletions
diff --git a/process_bug.cgi b/process_bug.cgi
index fc425a199..c671a90c2 100755
--- a/process_bug.cgi
+++ b/process_bug.cgi
@@ -226,13 +226,17 @@ SWITCH: for ($::FORM{'knob'}) {
exit;
}
if ($::FORM{'dup_id'} == $::FORM{'id'}) {
- print "Nice try. But it doesn't really make sense to mark a\n";
+ print "Nice try, $::FORM{'who'}. But it doesn't really make sense to mark a\n";
print "bug as a duplicate of itself, does it?\n";
exit;
}
AppendComment($::FORM{'dup_id'}, $::FORM{'who'}, "*** Bug $::FORM{'id'} has been marked as a duplicate of this bug. ***");
$::FORM{'comment'} .= "\n\n*** This bug has been marked as a duplicate of $::FORM{'dup_id'} ***";
- system("./processmail $::FORM{'dup_id'} < /dev/null > /dev/null 2> /dev/null &");
+
+ print "<TABLE BORDER=1><TD><H2>Notation added to bug $::FORM{'dup_id'}</H2>\n";
+ system("./processmail $::FORM{'dup_id'} $::FORM{'who'}");
+ print "<TD><A HREF=\"show_bug.cgi?id=$::FORM{'dup_id'}\">Go To BUG# $::FORM{'dup_id'}</A></TABLE>\n";
+
last SWITCH;
};
# default
@@ -327,20 +331,19 @@ foreach my $id (@idlist) {
}
}
- print "<TABLE BORDER=1><TD><H1>Changes Submitted</H1>\n";
- print "<TD><A HREF=\"show_bug.cgi?id=$id\">Back To BUG# $id</A></TABLE>\n";
-
+ print "<TABLE BORDER=1><TD><H2>Changes to bug $id submitted</H2>\n";
SendSQL("unlock tables");
-
- system("./processmail $id < /dev/null > /dev/null 2> /dev/null &");
+ system("./processmail $id $::FORM{'who'}");
+ print "<TD><A HREF=\"show_bug.cgi?id=$id\">Back To BUG# $id</A></TABLE>\n";
}
if (defined $::next_bug) {
+ print("<P>The next bug in your list is:\n");
$::FORM{'id'} = $::next_bug;
print "<HR>\n";
navigation_header();
do "bug_form.pl";
} else {
- print "<BR><A HREF=\"query.cgi\">Back To Query Page</A>\n";
+ navigation_header();
}