From 64d06e2379b5feb0d810888b596315e4dc50db75 Mon Sep 17 00:00:00 2001 From: Platonides Date: Tue, 22 May 2018 00:08:44 +0200 Subject: [PATCH] =?utf8?q?Valores=20por=20defecto=20de=20env=C3=ADo=20del?= =?utf8?q?=20formulario?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- html/inscripcion.php | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/html/inscripcion.php b/html/inscripcion.php index 652a55f..28ec488 100755 --- a/html/inscripcion.php +++ b/html/inscripcion.php @@ -318,7 +318,17 @@ foreach (array ("jpg", "png") as $Ext) { La inscripción a este evento " . ($DE["abierto"] == "no" ? "no se encuentra abierta todavía. Puedes recibir más información {$DI["enviarmail"]}." : "se abrirá el {$DE["abierto"]}.")); -} else { +} else { + + $_POST += array( + 'Nombre' => '', + 'Apellido1' => '', + 'Apellido2' => '', + 'DNI' => '', + 'Email' => '', + 'Cuenta' => '', + 'Comentarios' => '', + ); ?>
" METHOD=POST> @@ -334,7 +344,7 @@ if (!empty($DE["abierto"])) { " /> +if (! in_array ("Sexo", $DE["invisibles"] ?? array())) { ?> "/> >     >     @@ -342,7 +352,7 @@ if (! in_array ("Sexo", $DE["invisibles"])) { ?> +if (! in_array ("Edad", $DE["invisibles"] ?? array())) { ?> >     -- 2.30.2