Bug in DataGrid
| From: | Ian P. Christian | Date: | Wed, 13 Apr 2005 18:49:01 +0000 |
| Subject: | Bug in DataGrid | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-37215@lists.php.net to get a copy of this message | ||
/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)) {
Attachment: [application/pgp-signature]
Attachment: [application/pgp-signature]