HTML_Table bug

From: Date: Tue, 25 Oct 2005 08:17:18 +0000
Subject: HTML_Table bug
Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-40283@lists.php.net to get a copy of this message
Hi, I got this report this morning: >FYI: The latest release of HTML_Table 1.6 has the following function >defined. Note that you reference variables in the internal call to >updateRowAttributes that you are not passing in. > > > /** > * Adds a table column and returns the column identifier > * @param array $contents (optional) Must be a indexed >array of valid cell contents > * @param mixed $attributes (optional) Associative array >or string of table row attributes > * @param string $type (optional) Cell type either >'th' or 'td' > * @return int > * @access public > */ > function addCol($contents = null, $attributes = null, $type = 'td') > { > return $this->_tbody->updateRowAttributes($row, $attributes, >$inTR); > } > > >Not sure how this version got labeled as 'stable' If you can't make sure that what you release is stable, don't mark it stable. People are actually using the package on production sites, so be careful. If you are too busy or not competent enough to make sure everything is ok, make an HTML_Table2 package as I suggested before and mark it alpha or beta. Thanks. Bertrand Mansion Mamasam -- Bertrand Mansion http://www.mamasam.com - creative internet solutions http://golgote.freeflux.net - my blog

« previous php.pear.dev (#40283) next »