Debug
This commit is contained in:
committed by
GitHub
parent
58e8f0a17f
commit
7a52e6a6a7
@ -47,8 +47,8 @@ class formDeleteFilm extends Form{
|
||||
|
||||
protected function procesaFormulario($datos){
|
||||
$result = array();
|
||||
$id = $this->test_input($_POST['id']) ?? null;
|
||||
if ( empty($id)) {
|
||||
$id = $this->test_input($datos['id']) ?? null;
|
||||
if ( is_null($id)) {
|
||||
$result['id'] = "La pelicula seleccionada no existe.";
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user