Update film_dao.php
This commit is contained in:
parent
7993f02c27
commit
8614c4b0ef
@ -96,7 +96,7 @@
|
||||
|
||||
//Create a new film Data Transfer Object.
|
||||
public function loadFilm($id, $tittle, $duration, $language,$description){
|
||||
return new Film_DTO( $id, $tittle, $duration, $language,$description);
|
||||
return new Film( $id, $tittle, $duration, $language,$description);
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user