Home » Structures » Structures_DataGrid » Bug #3151
is_subclass_of
Details
| Submitted | 2005-01-10 15:06 UTC |
|---|---|
| From | georgbez at gmx dot net |
| Assigned | asnagy |
| Status | Closed |
| Package | Structures_DataGrid |
| PHP Version | 4.3.8 |
| OS | WINXP |
| Roadmaps | (Not assigned) |
Comments
[2005-01-10 15:06 UTC] georgbez at gmx dot net
Description:
------------
Hi,
in Structures_DataGrid v0.6.0, file Structures\DataGrid\Record\DataObject.php on line 52 is a bug.
Regards
Georg
Reproduce code:
---------------
Code is
if (strtolower(is_subclass_of($data)) == 'db_dataobject') {
right would
if (strtolower(is_subclass_of( $data, 'db_dataobject' ))) {
[2005-01-10 15:18 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.