debug
This commit is contained in:
committed by
GitHub
parent
05ae838f03
commit
bb784490e5
@ -48,7 +48,8 @@ class formAddPromotion extends Form{
|
||||
protected function procesaFormulario($datos){
|
||||
$result = array();
|
||||
|
||||
$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