From 84ca1e8656b35fafb90c223f6d5995db8927af5e Mon Sep 17 00:00:00 2001 From: "terry%mozilla.org" <> Date: Thu, 20 Jan 2000 04:30:28 +0000 Subject: Patch by Holger Schurig -- don't display footer if they asked for no header. --- reports.cgi | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'reports.cgi') diff --git a/reports.cgi b/reports.cgi index 3c2a0df45..a112b0b44 100755 --- a/reports.cgi +++ b/reports.cgi @@ -96,7 +96,7 @@ else print "$_ : " . ($::FORM{$_} ? $::FORM{$_} : "undef") . "
\n"; } - PutFooter(); + PutFooter() if $::FORM{banner}; exit; } @@ -107,7 +107,8 @@ print < FIN -PutFooter(); +PutFooter() if $::FORM{banner}; + ################################## # user came in with no form data # @@ -171,6 +172,7 @@ FIN FIN #Add this above to get a control for showing the SQL query: # Show SQL
+ PutFooter(); } sub most_doomed @@ -309,7 +311,7 @@ FIN if ($bugs_count == 0) { print "No bugs found!\n"; - PutFooter(); + PutFooter() if $::FORM{banner}; exit; } @@ -526,7 +528,7 @@ $msg

FIN - PutFooter(); + PutFooter() if $::FORM{banner}; exit; } -- cgit v1.2.3-24-g4f1b