diff --git a/assets/php/common/film_dao.php b/assets/php/common/film_dao.php index 4a60031..da386fa 100644 --- a/assets/php/common/film_dao.php +++ b/assets/php/common/film_dao.php @@ -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); } }