From f2378ada13c4bf942cef4f751fbbd3e1e78c94d2 Mon Sep 17 00:00:00 2001 From: "jake%acutex.net" <> Date: Wed, 10 Oct 2001 20:26:28 +0000 Subject: Fix for bug 65164 - Bugzilla wasn't sending at the end of its pages. Patch by Christian Reis r= gerv@mozilla.org, jake@acutex.net --- CGI.pl | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/CGI.pl b/CGI.pl index 2cfe767eb..41f875892 100644 --- a/CGI.pl +++ b/CGI.pl @@ -1166,8 +1166,19 @@ sub PutHeader { } +# Putfooter echoes footerhtml and by default prints closing tags +# +# param +# dontclose (boolean): avoid sending +# +# Example: +# Putfooter(); # normal close +# Putfooter(1); # don't send closing tags + sub PutFooter { + my ( $dontclose ) = @_; print PerformSubsts(Param("footerhtml")); + print "\n\n" if ( ! $dontclose ); SyncAnyPendingShadowChanges(); } -- cgit v1.2.3-24-g4f1b