Commit f2378ada authored by jake%acutex.net's avatar jake%acutex.net

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
parent 0322bad0
......@@ -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();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment