From: eldy <> Date: Sat, 26 Feb 2005 00:21:29 +0000 (+0000) Subject: Fix: [ 1097902 ] bad html output when nested includes X-Git-Tag: AWSTATS_WEBMIN_1_6_BETA~74 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6899424595e050d8216ae5cea43c550def5aee2a;p=thirdparty%2FAWStats.git Fix: [ 1097902 ] bad html output when nested includes --- diff --git a/wwwroot/cgi-bin/awstats.pl b/wwwroot/cgi-bin/awstats.pl index cbb24446..0ca380ff 100644 --- a/wwwroot/cgi-bin/awstats.pl +++ b/wwwroot/cgi-bin/awstats.pl @@ -859,7 +859,6 @@ sub warning { my $messagestring=shift; if (! $HeaderHTTPSent && $ENV{'GATEWAY_INTERFACE'}) { http_head(); } - if (! $HeaderHTMLSent) { html_head(); } if ($Debug) { debug("$messagestring",1); } if ($WarningMessages) { if (scalar keys %HTMLOutput) {