Update film_dao.php

This commit is contained in:
Fernando Méndez 2021-04-13 20:48:35 +02:00 committed by GitHub
parent e5b5f411be
commit 2fef99d5d5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -39,6 +39,8 @@
while($fila=mysqli_fetch_array($resul)){ while($fila=mysqli_fetch_array($resul)){
$films[] = $this->loadFilm($fila["id"], $fila["tittle"], $fila["duration"], $fila["language"], $fila["description"]); $films[] = $this->loadFilm($fila["id"], $fila["tittle"], $fila["duration"], $fila["language"], $fila["description"]);
} }
$resul->free();
return $resul; return $resul;
} }