Fix some issues with PHP>=7.2 count() behavior
Some PHP warnings were generated in the configuration panel and during a restore when using PHP >= 7.2 due to the changed count() behavior in these PHP versions.
Dieser Commit ist enthalten in:
Ursprung
fddce3298a
Commit
21aa1ae1a6
3 geänderte Dateien mit 8 neuen und 8 gelöschten Zeilen
|
|
@ -120,7 +120,7 @@ if ($restore['filehandle'])
|
|||
{
|
||||
@mysqli_query($config['dbconnection'], '/*!40000 ALTER TABLE `'.$restore['actual_table'].'` DISABLE KEYS */;');
|
||||
}
|
||||
elseif (sizeof($restore['tables_to_restore'])==0&&($restore['actual_table']>''&&$restore['actual_table']!='unbekannt')) @mysqli_query($config['dbconnection'], '/*!40000 ALTER TABLE `'.$restore['actual_table'].'` DISABLE KEYS */;');
|
||||
elseif ((!is_array($restore['tables_to_restore'])||sizeof($restore['tables_to_restore'])==0)&&($restore['actual_table']>''&&$restore['actual_table']!='unbekannt')) @mysqli_query($config['dbconnection'], '/*!40000 ALTER TABLE `'.$restore['actual_table'].'` DISABLE KEYS */;');
|
||||
|
||||
WHILE (($a<$restore['anzahl_zeilen'])&&(!$restore['fileEOF'])&&($dauer<$restore['max_zeit'])&&!$restore['EOB'])
|
||||
{
|
||||
|
|
|
|||
Laden …
Tabelle hinzufügen
Einen Link hinzufügen
In neuem Issue referenzieren