[Solar-talk] Possible Solar_Sql_Row extends Solar_Struct toArray() bug?

Paul M Jones pmjones at solarphp.com
Tue Sep 5 19:28:53 PDT 2006


On Sep 5, 2006, at 2:03 PM, Jeremy Cook wrote:

> Is how it currently is the correct behavior, and should I just look  
> for the array( [0] => ) instead of an empty array? If not, is  
> changing Solar_Struct the best solution, or should the change be  
> applied at the Solar_Sql_Row level? Is there some other, better  
> solution?

Your solution looks like the right way to do it; I'll apply that and  
commit.  Thanks for the good report, and the patch.



--

Paul M. Jones  <http://paul-m-jones.com>

Solar: Simple Object Library and Application Repository
for PHP5.   <http://solarphp.com>

Savant: The simple, elegant, and powerful solution for
templates in PHP.   <http://phpsavant.com>




More information about the solar-talk mailing list