$movie = Model_Movie::find('first',array(
'related' => array(
'file' => array(
'where' => array(
array(
'path', '=', $fullpath . $movie_file
)
)
)
)
));
My problem is, that the first file it checks, a record is found and it's all good.It looks like you're new here. If you want to get involved, click one of these buttons!