forked from extern/egroupware
fix PHP 7.3 syntax error / PHP 7.4 syntax, as 21.1 still supported PHP 7.3
This commit is contained in:
parent
4d014fab49
commit
c10ca6fc5b
@ -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