Home » Structures » Structures_DataGrid » Bug #5300
Some PHP notices shows when an callback function is used for col formatting
Details
| Submitted | 2005-09-05 12:29 UTC |
|---|---|
| From | kick_tisho at yahoo dot com |
| Assigned | asnagy |
| Status | Closed |
| Package | Structures_DataGrid |
| PHP Version | 4.3.2 |
| OS | Windows |
| Roadmaps | (Not assigned) |
Comments
[2005-09-05 12:29 UTC] kick_tisho at yahoo dot com
Description:
------------
When am using an callback function for column formatting, without passing params, for example
$dg->addColumn(new Structures_DataGrid_Column('Name', null, 'lname', array('width' => '40%'), null, 'printFullName()'));
it gives me some PHP notices
Notice: Undefined variable: in D:\Progra~1\php\pear\Structures\DataGrid\Column.php on line 183
As i find it usable to develop with PHP notices turned on, i think this small bug should be fixed.
[2005-09-12 13:54 UTC] asnagy 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.