mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 06:30:59 +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
fd7e7e2828
commit
f50b405555
@ -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