Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 0.2.2dev1

Bug #10137 Only variables should be assigned by reference
Submitted: 2007-02-20 12:24 UTC Modified: 2007-05-07 14:40 UTC
From: berdir at php dot net Assigned: olivierg
Status: Closed Package: Structures_DataGrid_DataSource_DataObject (version 0.1.1)
PHP Version: 4.4.0 OS: Linux
Roadmaps: (Not assigned)    
Subscription  


 [2007-02-20 12:24 UTC] berdir at php dot net (Sascha Grossenbacher)
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

Comments

 [2007-05-07 14:40 UTC] olivierg (Olivier Guilyardi)
This bug has been fixed in CVS. If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better.