mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
fix error: count(): Argument #1 ($value) must be of type Countable
This commit is contained in:
parent
d80078893e
commit
310a4c9c9a
@ -439,7 +439,8 @@ class calendar_uilist extends calendar_ui
|
||||
if($params['view'] && $params['view'] == 'listview' && Api\Json\Response::isJSONResponse())
|
||||
{
|
||||
Api\Json\Response::get()->call('app.calendar.set_app_header',
|
||||
(count($search_params['users']) == 1 ? $this->bo->participant_name($search_params['users'][0]).': ' : '') .
|
||||
(!empty($search_params['users']) && count($search_params['users']) === 1 ?
|
||||
$this->bo->participant_name($search_params['users'][0]).': ' : '') .
|
||||
$label);
|
||||
}
|
||||
foreach((array) $this->bo->search($search_params, !empty($col_filter) ? $col_filter : null) as $event)
|
||||
|
Loading…
Reference in New Issue
Block a user