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

Bug #4350 Structures_DataGrid_Renderer_XML constructor needs variable by reference
Submitted: 2005-05-15 16:41 UTC
From: tier at gregor-widuch dot de Assigned: asnagy
Status: Closed Package: Structures_DataGrid
PHP Version: 4.3.8 OS:
Roadmaps: (Not assigned)    
Subscription  
Comments Add Comment Add patch


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 18 + 16 = ?

 
 [2005-05-15 16:41 UTC] tier at gregor-widuch dot de
Description: ------------ The sample "example-xml.php" only returns <?xml version="1.0"?> <DataGrid> </DataGrid> I think I found the reason: In file Structures/DataGrid/Renderer/XML.php the constructor is buggy. The variable $dg is not passed by reference. When I change this the sample works. function Structures_DataGrid_Renderer_XML(&$dg) { $this->_dg =& $dg; }

Comments

 [2005-05-16 18:23 UTC] asnagy
This bug has been fixed in CVS. In case this was a documentation problem, the fix will show up at the end of next Sunday (CET) on pear.php.net. In case this was a pear.php.net website problem, the change will show up on the website in short time. Thank you for the report, and for helping us make PEAR better.