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
This commit is contained in:
jake%acutex.net 2001-10-10 13:26:28 +00:00
Родитель a67423bb66
Коммит efb7eb3ab8
1 изменённых файлов: 11 добавлений и 0 удалений

Просмотреть файл

@ -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();
}