mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-21 23:43:17 +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
38aec8c19e
commit
f4a8b56680
@ -133,7 +133,7 @@ class importexport_admin_prefs_sidebox_hooks
|
||||
),false)."','_blank',850,440,'yes')",
|
||||
'icon' => 'export',
|
||||
'app' => 'importexport',
|
||||
'text' => in_array($appname, array('sitemgr')) || count($plugins[$appname]['export']) > 1 ? 'Export' : 'Export CSV'
|
||||
'text' => in_array($appname, array('sitemgr')) || count($plugins[$appname]['export'] ?? []) > 1 ? 'Export' : 'Export CSV'
|
||||
);
|
||||
if($GLOBALS['egw_info']['flags']['disable_importexport']['export']) {
|
||||
$file['Export CSV']['link'] = '';
|
||||
|
Loading…
Reference in New Issue
Block a user