From: jake%acutex.net <> Date: Wed, 10 Oct 2001 20:26:28 +0000 (+0000) Subject: Fix for bug 65164 - Bugzilla wasn't sending at the end of its pages. X-Git-Tag: bugzilla-2.14.1~94 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f2378ada13c4bf942cef4f751fbbd3e1e78c94d2;p=thirdparty%2Fbugzilla.git 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 --- diff --git a/CGI.pl b/CGI.pl index 2cfe767ebe..41f8758926 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(); }