mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 16:03:47 +01:00
fix PHP 8.0 error when deinstalling an app with single table (string instead of string[])
This commit is contained in:
parent
4fc0e2a380
commit
4e488d7f5a
@ -395,7 +395,7 @@ class setup_process
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
// drop them in reverse order, in case the have constrains
|
// drop them in reverse order, in case the have constrains
|
||||||
foreach(array_reverse($data['tables'] ?? []) as $table)
|
foreach(array_reverse((array)($data['tables'] ?? [])) as $table)
|
||||||
{
|
{
|
||||||
//echo $table;
|
//echo $table;
|
||||||
if (in_array($table, $tables))
|
if (in_array($table, $tables))
|
||||||
|
Loading…
Reference in New Issue
Block a user