mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-23 23:29:31 +01:00
handle warning on cat_id when it is not a string, as expected on explode but already an array of cat-ids
This commit is contained in:
parent
86912b72ed
commit
532cf5baf5
@ -167,7 +167,7 @@ class calendar_uiviews extends calendar_ui
|
||||
$this->owner = str_replace('%2C',',',$this->owner);
|
||||
$this->search_params = array(
|
||||
'start' => $this->date,
|
||||
'cat_id' => $this->cat_id ? explode(',',$this->cat_id) : 0,
|
||||
'cat_id' => $this->cat_id ? (is_array($this->cat_id)?$this->cat_id:explode(',',$this->cat_id)) : 0,
|
||||
'users' => explode(',',$this->owner),
|
||||
'filter' => $this->filter,
|
||||
'daywise' => True,
|
||||
|
Loading…
Reference in New Issue
Block a user