mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-24 08:53:37 +01:00
fix PHP 8.0 Error: count(): Argument #1 ($value) must be of type Countable|array, null given
This commit is contained in:
parent
0ae7f21fa1
commit
9f6451193e
@ -470,7 +470,7 @@ class setup_process
|
||||
A manual sql script install is needed, but we do add the hooks
|
||||
*/
|
||||
$enabled = 99;
|
||||
if (count($appdata['tables']) && empty($appdata['skip_create_tables']))
|
||||
if (!empty($appdata['tables']) && empty($appdata['skip_create_tables']))
|
||||
{
|
||||
$enabled = False;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user