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 <[EMAIL PROTECTED]>                     |
 // +----------------------------------------------------------------------+
 //
-// $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



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to