PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » Structures » Structures_DataGrid » Bug #5499

DB_Dataobject getMethods called improperly

Details

Submitted2005-09-22 20:54 UTC
Fromwabut at yahoo dot com
StatusBogus
PackageStructures_DataGrid
PHP Version5.0.5
OSWindows XP
Roadmaps(Not assigned)

Comments

[2005-09-22 20:54 UTC] wabut at yahoo dot com

Description:
------------
When binding with db_dataobject, if your dataobject has getMethods, the fetch command returns null for each column.

in Structures\DataGrid\DataSource\Dataobject.php on Line 221
$rec[$fName] = $this->_dataobject->$getMethod

should be

$rec[$fName] = $this->_dataobject->$getMethod()

to fix it.

[2005-09-22 20:57 UTC] wabut at yahoo dot com

oops. already fixed in cvs. sorry