mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-25 01:13:25 +01:00
fix PHP 8.0 TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given
This commit is contained in:
parent
5de3115500
commit
38aec8c19e
@ -116,7 +116,7 @@ class importexport_admin_prefs_sidebox_hooks
|
||||
),false)."','_blank',850,440,'yes')",
|
||||
'icon' => 'import',
|
||||
'app' => 'importexport',
|
||||
'text' => in_array($appname, array('sitemgr')) || count($plugins[$appname]['import']) > 1 ? 'Import' : 'Import CSV'
|
||||
'text' => in_array($appname, array('sitemgr')) || count($plugins[$appname]['import'] ?? []) > 1 ? 'Import' : 'Import CSV'
|
||||
);
|
||||
if($GLOBALS['egw_info']['flags']['disable_importexport']['import']) {
|
||||
$file['Import CSV']['link'] = '';
|
||||
|
Loading…
Reference in New Issue
Block a user