Update formFilm.php

This commit is contained in:
marian1010 2021-04-13 21:49:29 +02:00
parent 11ab79854f
commit a5f9863f22

View File

@ -52,7 +52,7 @@ class FormFilm extends Form {
//Habria que validar todo para que encaje en la base de datos //Habria que validar todo para que encaje en la base de datos
$bd = new FilmDAO('complucine'); $bd = new Film_DAO('complucine');
if($bd ){ if($bd ){
if($option == "new"){ if($option == "new"){
$bd->createFilm(null, $title,$duration,$languaje,$description); $bd->createFilm(null, $title,$duration,$languaje,$description);