Bug in PicoraActiveRecord.php

I found a bug in PicoraActiveRecord:

Line 335:


while($record = mysql_fetch_object($response,$class_name)){

Should be:


while($record = mysql_fetch_object($response,$target_class_name)){

Posted August 20th, 2007 at 7:22am by Aaron

Oh and of cause same problem in line 341:


while($record = $response->fetchObject($target_class_name)){

Posted August 20th, 2007 at 7:24am by Aaron

Login or Register to Post