diff options
author | jake%acutex.net <> | 2001-10-10 22:26:28 +0200 |
---|---|---|
committer | jake%acutex.net <> | 2001-10-10 22:26:28 +0200 |
commit | f2378ada13c4bf942cef4f751fbbd3e1e78c94d2 (patch) | |
tree | 5802ba5f8b7eed17679d8a184ffae770d8d1318c | |
parent | 0322bad0c6a29d82260f89427094f64cd99f1064 (diff) | |
download | bugzilla-f2378ada13c4bf942cef4f751fbbd3e1e78c94d2.tar.gz bugzilla-f2378ada13c4bf942cef4f751fbbd3e1e78c94d2.tar.xz |
Fix for bug 65164 - Bugzilla wasn't sending </html> at the end of its pages.
Patch by Christian Reis <kiko@async.com.br>
r= gerv@mozilla.org, jake@acutex.net
-rw-r--r-- | CGI.pl | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -1166,8 +1166,19 @@ sub PutHeader { } +# Putfooter echoes footerhtml and by default prints closing tags +# +# param +# dontclose (boolean): avoid sending </body></html> +# +# Example: +# Putfooter(); # normal close +# Putfooter(1); # don't send closing tags + sub PutFooter { + my ( $dontclose ) = @_; print PerformSubsts(Param("footerhtml")); + print "\n</body></html>\n" if ( ! $dontclose ); SyncAnyPendingShadowChanges(); } |