From: terry%mozilla.org <> Date: Thu, 20 Jan 2000 04:30:28 +0000 (+0000) Subject: Patch by Holger Schurig -- don't display footer if they asked... X-Git-Tag: bugzilla-2.12~450 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=84ca1e8656b35fafb90c223f6d5995db8927af5e;p=thirdparty%2Fbugzilla.git Patch by Holger Schurig -- don't display footer if they asked for no header. --- diff --git a/reports.cgi b/reports.cgi index 3c2a0df453..a112b0b44f 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; }