From 99f3c33e5265758c59cac6da43b34d8c8b899cb8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fernando=20M=C3=A9ndez?= <45081533+FerMdez@users.noreply.github.com> Date: Tue, 13 Apr 2021 19:27:26 +0200 Subject: [PATCH] Update film_dao.php --- panel_admin/includes/film_dao.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/panel_admin/includes/film_dao.php b/panel_admin/includes/film_dao.php index 4720f0a..49afc3f 100644 --- a/panel_admin/includes/film_dao.php +++ b/panel_admin/includes/film_dao.php @@ -79,8 +79,8 @@ } //Create a new film Data Transfer Object. - public function loadFilm($id, $tittle, $duration, $language){ - return new FilmDTO( $id, $tittle, $duration, $language); + public function loadFilm($id, $tittle, $duration, $language, $description){ + return new Film_DTO( $id, $tittle, $duration, $language, $description ); } }