mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-24 08:53:37 +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
5f0b2ab513
commit
5548926e37
@ -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