Add files via upload

This commit is contained in:
Daniel Muñoz Garcia
2021-05-27 12:39:26 +02:00
committed by GitHub
parent faec3af6f7
commit c5ee1bd4c7
3 changed files with 3 additions and 3 deletions

View File

@ -58,7 +58,7 @@ class formEditPromotion extends Form{
}
$t = $this->test_input($datos['tittle']) ?? null;
$tittle = str_replace(" ", "_", $t);
$tittle = strtolower(str_replace(" ", "_", $t));
if ( empty($tittle) ) {
$result['tittle'] = "El título no es válido";
}