cvs: php4 /pear/HTML Table.php

From: Date: Thu, 22 Mar 2001 14:32:51 +0000
Subject: cvs: php4 /pear/HTML Table.php
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-4778@lists.php.net to get a copy of this message
mj Thu Mar 22 06:32:51 2001 EDT Modified files: /php4/pear/HTML Table.php Log: - Fixed bug reported by Bertrand Mansion. Index: php4/pear/HTML/Table.php diff -u php4/pear/HTML/Table.php:1.2 php4/pear/HTML/Table.php:1.3 --- php4/pear/HTML/Table.php:1.2 Wed Mar 21 22:23:38 2001 +++ php4/pear/HTML/Table.php Thu Mar 22 06:32:51 2001 @@ -17,7 +17,7 @@ // | Bertrand Mansion <bmansion@mamasam.com> | // +----------------------------------------------------------------------+ // -// $Id: Table.php,v 1.2 2001/03/22 06:23:38 mj Exp $ +// $Id: Table.php,v 1.3 2001/03/22 14:32:51 mj Exp $ require_once "PEAR.php"; require_once "HTML/Common.php"; @@ -419,7 +419,7 @@ */ function setColAttributes($col, $attributes=null) { - for ($i = 0; $i < $this->_cols; $i++) { + for ($i = 0; $i < $this->_rows; $i++) { $this->setCellAttributes($i,$col,$attributes); } } // end func setColAttributes @@ -432,7 +432,7 @@ */ function updateColAttributes($col, $attributes=null) { - for ($i = 0; $i < $this->_cols; $i++) { + for ($i = 0; $i < $this->_rows; $i++) { $this->updateCellAttributes($i,$col,$attributes); } } // end func updateColAttributes

« previous php.cvs (#4778) next »