forked from extern/egroupware
Check cat_id and join function are not undefined
This commit is contained in:
parent
2c5b1de5b5
commit
5a6ca10c0d
@ -2285,7 +2285,7 @@ app.classes.calendar = AppJS.extend(
|
||||
col_filter: {participant: (typeof state.owner == 'string' || typeof state.owner == 'number' ? [state.owner] : state.owner)},
|
||||
filter:'custom', // Must be custom to get start & end dates
|
||||
status_filter: state.filter,
|
||||
cat_id: state.cat_id && state.cat_id.join('') != '' ? state.cat_id : false,
|
||||
cat_id: state.cat_id && typeof state.cat_id.join != "undefined" && state.cat_id.join('') != '' ? state.cat_id : false,
|
||||
search: state.keywords,
|
||||
csv_export: false
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user