From e343f966da107e6e9d03cbf46bb48401add635b9 Mon Sep 17 00:00:00 2001 From: Platonides Date: Tue, 22 May 2018 01:14:41 +0200 Subject: [PATCH] Evito notice Undefined offset 0 --- html/inscripcion.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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); -- 2.30.2