mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-28 09:38:53 +01:00
fix PHP 8.0 TypeError: array_keys(): Argument #1 ($array) must be of type array, null given
This commit is contained in:
parent
1cefb08ae6
commit
738ee7a8ec
@ -288,7 +288,7 @@ class importexport_export_csv implements importexport_iface_export_record
|
|||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
list($type) = explode('-',$c_field['type'],2);
|
list($type) = explode('-',$c_field['type'],2);
|
||||||
if(in_array($type, array_keys($GLOBALS['egw_info']['apps']))) {
|
if (in_array($type, array_keys($GLOBALS['egw_info']['apps'] ?? []))) {
|
||||||
$fields['links'][] = $name;
|
$fields['links'][] = $name;
|
||||||
$links[$name] = $c_field['type'];
|
$links[$name] = $c_field['type'];
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user