fix PHP 8.x error: count(): Argument #1 ($value) must by of type Countable|array, null given

This commit is contained in:
ralf 2022-09-15 14:08:49 +02:00
parent 0287e06df2
commit c175e530bb

View File

@ -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;
}