From: Platonides Date: Mon, 21 May 2018 23:14:41 +0000 (+0200) Subject: Evito notice Undefined offset 0 X-Git-Url: http://gitweb.wikimedia.es/?a=commitdiff_plain;h=e343f966da107e6e9d03cbf46bb48401add635b9;p=inscripciones%2Finscribirse Evito notice Undefined offset 0 --- diff --git a/html/inscripcion.php b/html/inscripcion.php index 7790978..b26aab1 100755 --- a/html/inscripcion.php +++ b/html/inscripcion.php @@ -414,8 +414,10 @@ if (count ($Grupos) > 1) { foreach ($Grupos as $G) { if (substr ($G, 0, 2) != $BloqueAnt) { $Fila = 0; - $MaxF = max ($MaxF, count ($D[$Col++])); + if (isset($D[$Col])) + $MaxF = max ($MaxF, count ($D[$Col])); $BloqueAnt = substr ($G, 0, 2); + $Col++; } $Plazas = plazas ($G, $Org, $DE, $DI);