Update formFilm.php
This commit is contained in:
parent
11ab79854f
commit
a5f9863f22
@ -52,7 +52,7 @@ class FormFilm extends Form {
|
||||
|
||||
//Habria que validar todo para que encaje en la base de datos
|
||||
|
||||
$bd = new FilmDAO('complucine');
|
||||
$bd = new Film_DAO('complucine');
|
||||
if($bd ){
|
||||
if($option == "new"){
|
||||
$bd->createFilm(null, $title,$duration,$languaje,$description);
|
||||
|
Loading…
Reference in New Issue
Block a user