mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 08:34:29 +01:00
fix PHP 8.x error: count(): Argument #1 ($value) must by of type Countable|array, null given
This commit is contained in:
parent
0287e06df2
commit
c175e530bb
@ -395,7 +395,7 @@ class setup_detection
|
||||
// ignore db errors
|
||||
}
|
||||
$GLOBALS['egw_info']['setup']['header_msg'] = 'Stage 2 (Needs Configuration)';
|
||||
if(!count($config))
|
||||
if(empty($config))
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user