Re: Bug in DataGrid

From: Date: Wed, 13 Apr 2005 23:02:33 +0000
Subject: Re: Bug in DataGrid
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-37225@lists.php.net to get a copy of this message
Ian P. Christian wrote: >/usr/lib/php/Structures/DataGrid/DataSource/DataObject.php >line 220/301 > > if (method_exists($this->_dataobject, $getMethod)) { > //$rec[$fName] = >$this->_dataobject->$getMethod(&$this); > $rec[$fName] = $this->_dataobject->$getMethod; > } elseif (isset($this->_dataobject->$fName)) { > >should be > > if (method_exists($this->_dataobject, $getMethod)) { > //$rec[$fName] = >$this->_dataobject->$getMethod(&$this); > $rec[$fName] = $this->_dataobject->$getMethod(); > } elseif (isset($this->_dataobject->$fName)) { > > Please post a patch to the bugs page[1] so this isn't lost in the mailing list [1] http://pear.php.net/package/Structures_DataGrid/bugs Thanks, -Nikolas 'Atrus' Coukouma

« previous php.pear.dev (#37225) next »