No siempre tienen asociado un tiempo todos los grupos
authorPlatonides <platonides@gmail.com>
Mon, 21 May 2018 23:34:52 +0000 (01:34 +0200)
committerPlatonides <platonides@gmail.com>
Mon, 21 May 2018 23:34:52 +0000 (01:34 +0200)
(especialmente la edición remota)

html/gec.php

index 9c0485afad94f68135d4abb51557be99e2389cde..87b2d52201447fa86885ddffadb62fd3ac9b3721 100644 (file)
@@ -15,7 +15,7 @@ function infogrupo ($G, $DE, $DI, $DP, $DT, $MostrarLoc) {
     if (isset($DE["lugar"][$G])) {
         $Info = ($DT[$DE["lugar"][$G]][3] ? "<a href=\"{$DT[$DE["lugar"][$G]][3]}\" target=\"_blank\">{$DT[$DE["lugar"][$G]][0]}</a>" : $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"])) {