From: Platonides Date: Mon, 21 May 2018 21:37:13 +0000 (+0200) Subject: Undefined index: i → +isset() X-Git-Url: http://gitweb.wikimedia.es/?a=commitdiff_plain;h=ea02a32c91e9b64f6a36b9dadb8ba6dd0a8d86c1;p=inscripciones%2Finscribirse Undefined index: i → +isset() --- diff --git a/html/inscripcion.php b/html/inscripcion.php index 8d4e8ed..a8f4205 100755 --- a/html/inscripcion.php +++ b/html/inscripcion.php @@ -308,7 +308,7 @@ if (count ($Grupos) == 1) { if ($Org == "wmes") print ("

{$DI["asociadona"]}

"); print (""); -$Img = ($_GET["i"] ? $_GET["i"] : $E); +$Img = (isset($_GET["i"]) ? $_GET["i"] : $E); $Web = ($DE["web"] ? $DE["web"] : wikiencode ("https://{$DP["web"]}/wiki/", $DE["página"][$P], NULL, NULL, NULL)); foreach (array ("jpg", "png") as $Ext) { if (file_exists ("img/{$Img}.{$Ext}")) print (""); @@ -475,4 +475,4 @@ El envío de los datos implica tu consentimiento para que los incluyamos ?>
" />
- \ No newline at end of file +