debug
This commit is contained in:
committed by
GitHub
parent
05ae838f03
commit
bb784490e5
@ -57,8 +57,8 @@ class formEditPromotion extends Form{
|
||||
$result['id'] = "La promoción seleccionada no existe.";
|
||||
}
|
||||
|
||||
$tittle = $this->test_input($datos['tittle']) ?? null;
|
||||
|
||||
$t = $this->test_input($datos['tittle']) ?? null;
|
||||
$tittle = str_replace(" ", "_", $t);
|
||||
if ( empty($tittle) ) {
|
||||
$result['tittle'] = "El título no es válido";
|
||||
}
|
||||
|
Reference in New Issue
Block a user