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

Bug #4872 Notice caused on formatter
Submitted: 2005-07-20 15:41 UTC
From: pupeno at pupeno dot com Assigned: olivierg
Status: Closed Package: Structures_DataGrid
PHP Version: 4.3.11 OS: Gentoo Linux
Roadmaps: (Not assigned)    
Subscription  


 [2005-07-20 15:41 UTC] pupeno at pupeno dot com
Description: ------------ If I specify a formatter in this way: $plansTable->addColumn(new Structures_DataGrid_Column('Type', 'type', 'type', null, null, 'typeField()')); defining: function typeField($params){ global $types; return $types[$params['record']['type']]; } then I get this notice (which is disturbing on E_ALL): Notice: Undefined variable: in /usr/lib/php/Structures/DataGrid/Column.php on line 183 Thanks.

Comments

 [2005-07-26 18:53 UTC] asnagy
Can you please use the latest version from CVS and report back?
 [2005-10-11 00:24 UTC] olivierg at php dot net
This bug has been fixed in CVS. If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better.