fix to HTMl/Page.php
| From: | Erik Hjortsberg | Date: | Tue, 08 Jan 2002 19:37:58 +0000 |
| Subject: | fix to HTMl/Page.php | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-3837@lists.php.net to get a copy of this message | ||
Hello.
There's a small bug in HTML/Page.php which will result in a warning when
using error-reporting.
I added a line of code.
@@ -84,7 +84,8 @@
$strName = "";
$strContent = "";
$intCounter = 0;
- if ($this->_comment) {
+ $strHtml = '';
+ if ($this->_comment) {
$strHtml = "<!-- $this->_comment -->\n";
}
$strHtml .= "<HTML>\n";