PHP7 and MySQL fixes
Dieser Commit ist enthalten in:
Ursprung
f35a788f97
Commit
d4a20eb735
2 geänderte Dateien mit 4 neuen und 2 gelöschten Zeilen
|
@ -135,7 +135,9 @@ class clIfFunctionParser extends clAbstractTemplateParser {
|
||||||
}
|
}
|
||||||
//elseif-teil
|
//elseif-teil
|
||||||
else if(preg_match("/(?is)" . $this->pattern_elseif . "/", $array_match_all[0][0], $array_match_part) > 0) {
|
else if(preg_match("/(?is)" . $this->pattern_elseif . "/", $array_match_all[0][0], $array_match_part) > 0) {
|
||||||
$elseifIndex = count($array2_uncompletedConstructs[$uncompletedConstructsIndex]['elseif']);
|
if(is_countable($array2_uncompletedConstructs[$uncompletedConstructsIndex]['elseif'])) {
|
||||||
|
$elseifIndex = count($array2_uncompletedConstructs[$uncompletedConstructsIndex]['elseif']);
|
||||||
|
}
|
||||||
|
|
||||||
$array2_uncompletedConstructs[$uncompletedConstructsIndex]['elseif'][$elseifIndex]['condition'] = $array_match_part[1];
|
$array2_uncompletedConstructs[$uncompletedConstructsIndex]['elseif'][$elseifIndex]['condition'] = $array_match_part[1];
|
||||||
$array2_uncompletedConstructs[$uncompletedConstructsIndex]['elseif'][$elseifIndex]['pos_start'] = $array_match_all[0][1];
|
$array2_uncompletedConstructs[$uncompletedConstructsIndex]['elseif'][$elseifIndex]['pos_start'] = $array_match_all[0][1];
|
||||||
|
|
|
@ -87,7 +87,7 @@ function statsArchive($yearmonth) {
|
||||||
".Contenido_Security::toInteger($db->f(1)).",
|
".Contenido_Security::toInteger($db->f(1)).",
|
||||||
".Contenido_Security::toInteger($db->f(2)).",
|
".Contenido_Security::toInteger($db->f(2)).",
|
||||||
".Contenido_Security::toInteger($db->f(3)).",
|
".Contenido_Security::toInteger($db->f(3)).",
|
||||||
".Contenido_Security::escapeDB($db->f(4), $db2).")";
|
'".Contenido_Security::escapeDB($db->f(4), $db2)."')";
|
||||||
|
|
||||||
$db2->query($insertSQL);
|
$db2->query($insertSQL);
|
||||||
}
|
}
|
||||||
|
|
Laden …
In neuem Issue referenzieren