From 94f4769a0a5155bbb5cd41aca03b7942f0450983 Mon Sep 17 00:00:00 2001 From: Platonides Date: Tue, 22 May 2018 01:34:52 +0200 Subject: [PATCH] No siempre tienen asociado un tiempo todos los grupos MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit (especialmente la edición remota) --- html/gec.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/html/gec.php b/html/gec.php index 9c0485a..87b2d52 100644 --- a/html/gec.php +++ b/html/gec.php @@ -15,7 +15,7 @@ function infogrupo ($G, $DE, $DI, $DP, $DT, $MostrarLoc) { if (isset($DE["lugar"][$G])) { $Info = ($DT[$DE["lugar"][$G]][3] ? "{$DT[$DE["lugar"][$G]][0]}" : $DT[$DE["lugar"][$G]][0]); $Info .= ($MostrarLoc && $DT[$DE["lugar"][$G]][1] ? txtenlaces ($DT[$DE["lugar"][$G]][1], $DP) : ""); - $F = fecha ($DE["tiempo0"][$G], $DI, array ("Hora", "Año")); + $F = fecha ($DE["tiempo0"][$G] ?? "", $DI, array ("Hora", "Año")); if ($F != "N/D") $Info .= ", {$F} - {$DE["tiempo1"][$G]}"; if (isset($DE["extra"][$G])) $Info .= " - {$DE["extra"][$G]}"; } elseif (is_array($DI["grupo"])) { -- 2.30.2