cvs: php4 /pear/HTML Form.php Page.php

From: Date: Tue, 08 Jan 2002 19:54:44 +0000
Subject: cvs: php4 /pear/HTML Form.php Page.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-1871@lists.php.net to get a copy of this message
jan Tue Jan 8 14:54:44 2002 EDT Modified files: /php4/pear/HTML Form.php Page.php Log: fix two warnings, thanks to Erik Hjortsberg <erik@hysteriskt.nu> Index: php4/pear/HTML/Form.php diff -u php4/pear/HTML/Form.php:1.20 php4/pear/HTML/Form.php:1.21 --- php4/pear/HTML/Form.php:1.20 Fri Dec 21 23:42:47 2001 +++ php4/pear/HTML/Form.php Tue Jan 8 14:54:44 2002 @@ -17,7 +17,7 @@ // | Urs Gehrig <urs@circle.ch> | // +----------------------------------------------------------------------+ // -// $Id: Form.php,v 1.20 2001/12/22 04:42:47 ssb Exp $ +// $Id: Form.php,v 1.21 2002/01/08 19:54:44 jan Exp $ // // HTML form utility functions. // @@ -314,7 +314,7 @@ print " <TR>\n"; print " <TH ALIGN=\"right\" VALIGN=\"top\">$title</TH>\n"; print " <TD>"; - $this->displayTextarea($name, &$default, $width, $height, $maxlength); + $this->displayTextarea($name, $default, $width, $height, $maxlength); print "</TD>\n"; print " </TR>\n"; } Index: php4/pear/HTML/Page.php diff -u php4/pear/HTML/Page.php:1.5 php4/pear/HTML/Page.php:1.6 --- php4/pear/HTML/Page.php:1.5 Tue Dec 11 10:31:27 2001 +++ php4/pear/HTML/Page.php Tue Jan 8 14:54:44 2002 @@ -16,7 +16,7 @@ // | Authors: Adam Daniel <adaniel1@eesus.jnj.com> | // +----------------------------------------------------------------------+ // -// $Id: Page.php,v 1.5 2001/12/11 15:31:27 sebastian Exp $ +// $Id: Page.php,v 1.6 2002/01/08 19:54:44 jan Exp $ require_once "HTML/Common.php"; @@ -84,6 +84,7 @@ $strName = ""; $strContent = ""; $intCounter = 0; + $strHtml = ""; if ($this->_comment) { $strHtml = "<!-- $this->_comment -->\n"; }

« previous php.pear.cvs (#1871) next »