adaniel         Thu Mar 29 21:30:58 2001 EDT

  Modified files:              
    /php4/pear/HTML     Table.php 
  Log:
  minor change to toHtml
  
Index: php4/pear/HTML/Table.php
diff -u php4/pear/HTML/Table.php:1.5 php4/pear/HTML/Table.php:1.6
--- php4/pear/HTML/Table.php:1.5        Fri Mar 23 20:36:06 2001
+++ php4/pear/HTML/Table.php    Thu Mar 29 21:30:58 2001
@@ -17,7 +17,7 @@
 // |          Bertrand Mansion <[EMAIL PROTECTED]>                     |
 // +----------------------------------------------------------------------+
 //
-// $Id: Table.php,v 1.5 2001/03/24 04:36:06 adaniel Exp $
+// $Id: Table.php,v 1.6 2001/03/30 05:30:58 adaniel Exp $
 
 require_once "PEAR.php";
 require_once "HTML/Common.php";
@@ -74,6 +74,7 @@
      * @access    private
      */
     var $_nestLevel = 0;
+
     /**
      * Class constructor
      * @param    array    $attributes        Associative array of table tag attributes
@@ -477,9 +478,7 @@
                 if (is_object($contents)) {
                     if (is_subclass_of($contents, "html_common")) {
                         $contents->setTabOffset($this->_tabOffset + 3);
-                        if (get_class($contents) == "html_table" || 
is_subclass_of($contents, "html_table")) {
-                            $contents->_nestLevel = $this->_nestLevel + 1;
-                        }
+                        $contents->_nestLevel = $this->_nestLevel + 1;
                     }
                     if (method_exists($contents, "toHtml")) {
                         $contents = $contents->toHtml();
@@ -530,4 +529,3 @@
 
 } // end class HTML_Table
 ?>
-



-- 
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