Hello, i have strange issue with lib. I try to setup 2 crud tables in one controller, but something went wrong. Script reported error:
[php]Fatal error: Cannot access empty property in application\libraries\grocery_crud.php on line 1451[/php]
[php] foreach($data->list as $num_row => $row)
{
$data->list[$num_row]->edit_url = $data->edit_url.'/'.$row->{$data->primary_key};
$data->list[$num_row]->delete_url = $data->delete_url.'/'.$row->{$data->primary_key};
}
[/php]
Here's my code, what i do wrong?
When i print all object ($row) it show only this, where disappeared secound object?
[php]stdClass Object ( [pet_id] => 1 [mating] => 123 [childbirth] => 123 [heat_date] => 123 [childrens] => 123 [s20c984a4] => Pies1 - Pies1 - 123456789 ) 
[/php]
Ps. Sorry for my english :-)