From 8614c4b0ef95cc438d35761d339e15a78e731041 Mon Sep 17 00:00:00 2001 From: marian1010 <79144276+marian1010@users.noreply.github.com> Date: Thu, 6 May 2021 07:33:27 +0200 Subject: [PATCH] Update film_dao.php --- assets/php/common/film_dao.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } }