Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 0.9.3

Bug #1545 Undefined offset
Submitted: 2004-06-02 16:47 UTC
From: michael at mompopmedia dot com Assigned: asnagy
Status: Closed Package: Structures_DataGrid
PHP Version: 5.0.0RC2 (Release Candidate 2) OS: RH9
Roadmaps: (Not assigned)    
Subscription  
Comments Add Comment Add patch


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 49 - 3 = ?

 
 [2004-06-02 16:47 UTC] michael at mompopmedia dot com
Description: ------------ Small suggestion: line 302 of HTMLTable.php triggers an E_NOTICE error when rendoring a table with empty rows. Either an isset() or @ will do the trick: $row = @$this->_dg->recordSet[$i]; or if (isset($this->_dg->recordSet[$i]) .... Thanks for the great app!

Comments

 [2004-06-19 23:07 UTC] asnagy at webitecture dot org
This bug has been fixed in CVS. In case this was a documentation problem, the fix will show up at the end of next Sunday (CET) on pear.php.net. In case this was a pear.php.net website problem, the change will show up on the website in short time. Thank you for the report, and for helping us make PEAR better.
 [2004-08-10 13:00 UTC] bmansion at mamasam dot com
This isn't fixed in CVS, please reopen the bug. Please use : if (isset($this->_dg->recordSet[$i])) { $row = $this->_dg->recordSet[$i];
 [2004-08-10 14:02 UTC] asnagy at webitecture dot org
This bug has been fixed in CVS. In case this was a documentation problem, the fix will show up at the end of next Sunday (CET) on pear.php.net. In case this was a pear.php.net website problem, the change will show up on the website in short time. Thank you for the report, and for helping us make PEAR better.