forked from extern/egroupware
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')",
|
),false)."','_blank',850,440,'yes')",
|
||||||
'icon' => 'import',
|
'icon' => 'import',
|
||||||
'app' => 'importexport',
|
'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']) {
|
if($GLOBALS['egw_info']['flags']['disable_importexport']['import']) {
|
||||||
$file['Import CSV']['link'] = '';
|
$file['Import CSV']['link'] = '';
|
||||||
|
Loading…
Reference in New Issue
Block a user