mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 23:00:56 +01:00
fix PHP 7.3 syntax error / PHP 7.4 syntax, as 21.1 still supported PHP 7.3
This commit is contained in:
parent
ec4edf84d8
commit
b3f12cddb7
@ -795,7 +795,7 @@ class calendar_so
|
||||
$where = array_merge($where, $params['sql_filter']);
|
||||
}
|
||||
}
|
||||
if(array_filter($where, fn($key) => str_contains($key, '#'), ARRAY_FILTER_USE_KEY))
|
||||
if(array_filter($where, static function($key) { return str_contains($key, '#');}, ARRAY_FILTER_USE_KEY))
|
||||
{
|
||||
$custom_fields = Api\Storage\Customfields::get('calendar');
|
||||
foreach($where as $col => $data)
|
||||
|
Loading…
Reference in New Issue
Block a user