Home » Structures » Structures_DataGrid_DataSource_DataObject » Bug #10137
Only variables should be assigned by reference
Details
| Submitted | 2007-02-20 17:24 UTC |
|---|---|
| From | berdir at php dot net |
| Assigned | olivierg |
| Status | Closed |
| Package | Structures_DataGrid_DataSource_DataObject |
| PHP Version | 4.4.0 |
| OS | Linux |
| Roadmaps | (Not assigned) |
Comments
[2007-02-20 17:24 UTC] berdir at php dot net
Description:
------------
I am getting the following error when I click on a column title to sort it.
PHP Error: Only variables should be assigned by reference in /usr/share/php/Structures/DataGrid/DataSource/DataObject.php at line 317
Used Versions:
PHP 4.4.0
and
Structures_DataGrid_DataSource_DataObject 0.1.1 beta
Structures_DataGrid 0.8.1 beta
DB_DataObject 1.8.5 stable
Working Versions:
PHP5.1.6
Structures_DataGrid_DataSource_DataObject 0.1.1 beta
Structures_DataGrid 0.8.1 beta
DB_DataObject 1.8.5 stable
OR
PHP4.4.0
Structures_DataGrid_DataSource_DataObject 0.1.0 beta
Structures_DataGrid 0.8.1 beta
DB_DataObject 1.8.5 stable
The Problem was added with r.135[1]. I think the & is not needed because $db is only used for quoteIdentifier()
[1] http://cvs.php.net/viewvc.cgi/pear/Structures_DataGrid/DataGrid/DataSource/DataObject.php?r1=1.34&r2=1.35
Actual result:
--------------
PHP Error: Only variables should be assigned by reference in /usr/share/php/Structures/DataGrid/DataSource/DataObject.php at line 317