From a1c55275b03a1c5fe5dcc27af02c65a0f99e1650 Mon Sep 17 00:00:00 2001 From: "terry%mozilla.org" <> Date: Tue, 11 May 1999 06:12:49 +0000 Subject: Remember the 'changedin' field when memorizing queries. --- process_bug.cgi | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) (limited to 'process_bug.cgi') 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 "

Notation added to bug $::FORM{'dup_id'}

\n"; + system("./processmail $::FORM{'dup_id'} $::FORM{'who'}"); + print "
Go To BUG# $::FORM{'dup_id'}
\n"; + last SWITCH; }; # default @@ -327,20 +331,19 @@ foreach my $id (@idlist) { } } - print "

Changes Submitted

\n"; - print "
Back To BUG# $id
\n"; - + print "

Changes to bug $id submitted

\n"; SendSQL("unlock tables"); - - system("./processmail $id < /dev/null > /dev/null 2> /dev/null &"); + system("./processmail $id $::FORM{'who'}"); + print "
Back To BUG# $id
\n"; } if (defined $::next_bug) { + print("

The next bug in your list is:\n"); $::FORM{'id'} = $::next_bug; print "


\n"; navigation_header(); do "bug_form.pl"; } else { - print "
Back To Query Page\n"; + navigation_header(); } -- cgit v1.2.3-24-g4f1b