Bug in PicoraActiveRecord.php

I found a bug in PicoraActiveRecord:

Line 335:

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

Should be:

  1. 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:

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

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

Login or Register to Post