Wikimedia España
/
inscripciones
/
inscribirse
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fded29c
)
Errores Illegal string offset '<nombre grupo>' si $DI["grupo"] no es un array
author
Platonides
<platonides@gmail.com>
Mon, 21 May 2018 23:02:54 +0000
(
01:02
+0200)
committer
Platonides
<platonides@gmail.com>
Mon, 21 May 2018 23:02:54 +0000
(
01:02
+0200)
html/gec.php
patch
|
blob
|
blame
|
history
diff --git
a/html/gec.php
b/html/gec.php
index 1488cf3e56bb1d9ce2fa06a6ae964d9fcce8487f..0c3b34c4d43d733ba149285753ff40ca7d695444 100644
(file)
--- a/
html/gec.php
+++ b/
html/gec.php
@@
-18,8
+18,10
@@
function infogrupo ($G, $DE, $DI, $DP, $DT, $MostrarLoc) {
$F = fecha ($DE["tiempo0"][$G], $DI, array ("Hora", "Año"));
if ($F != "N/D") $Info .= ", {$F} - {$DE["tiempo1"][$G]}";
if ($DE["extra"][$G]) $Info .= " - {$DE["extra"][$G]}";
- } else {
+ } else
if (is_array($DI["grupo"]))
{
$Info = $DI["grupo"][$G];
+ } else {
+ $Info = "";
}
return $Info;
}