Patch for innreport "<BODY>" bug
Yury B.Razbegin
yur at simtel.ru
Wed Apr 5 06:49:34 UTC 2000
In innreport 3.0.2 there is old error in transmission of
the parameter to a tag <BODY> - between "BODY" and $body no space - thus
it is not worked.
Patch for fixing this bug:
=============================================================================
*** innreport Tue Apr 4 17:43:24 2000
--- innreport.orig Tue Apr 4 17:30:33 2000
***************
*** 765,771 ****
my $result = sprintf <<EOF;
<HTML><HEAD>
<TITLE>$Title: index</TITLE>
! </HEAD><BODY $body>
$HTML_header
<HR ALIGN=CENTER SIZE=\"4\" WIDTH=\"100%%\">
<BR><CENTER><FONT SIZE=\"+2\">
--- 765,771 ----
my $result = sprintf <<EOF;
<HTML><HEAD>
<TITLE>$Title: index</TITLE>
! </HEAD><BODY$body>
$HTML_header
<HR ALIGN=CENTER SIZE=\"4\" WIDTH=\"100%%\">
<BR><CENTER><FONT SIZE=\"+2\">
***************
*** 1754,1760 ****
open (HTML, "> $HTML_output") || die "Error: cant open $HTML_output\n";
print HTML "<HTML>\n<HEAD>\n<TITLE>$Title: $first_date</TITLE>\n" .
! "<!-- innreport $version -->\n</HEAD>\n<BODY $body>\n" .
"$HTML_header\n<CENTER><H1>$title</H1>\n" .
"<H3>$first_date -- $last_date</H3>\n</CENTER>\n<P><HR><P>\n";
--- 1754,1760 ----
open (HTML, "> $HTML_output") || die "Error: cant open $HTML_output\n";
print HTML "<HTML>\n<HEAD>\n<TITLE>$Title: $first_date</TITLE>\n" .
! "<!-- innreport $version -->\n</HEAD>\n<BODY$body>\n" .
"$HTML_header\n<CENTER><H1>$title</H1>\n" .
"<H3>$first_date -- $last_date</H3>\n</CENTER>\n<P><HR><P>\n";
=============================================================================
--
* Yury B.Razbegin * yur at simtel.ru * +7 (-8422) -35-32-09 (Fax: -41-00-19) *
More information about the inn-bugs
mailing list