mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-23 23:29:31 +01:00
Make sure ID is an array before treating it as an array
This commit is contained in:
parent
ebdc207ff5
commit
2452e2a4b0
@ -118,7 +118,7 @@ class calendar_merge extends bo_merge
|
||||
$prefix = 'calendar/%d';
|
||||
}
|
||||
}
|
||||
elseif ($id[0]['id'])
|
||||
elseif (is_array($id) && $id[0]['id'])
|
||||
{
|
||||
// Passed an array of events, to be handled like a date range
|
||||
$events = $id;
|
||||
|
Loading…
Reference in New Issue
Block a user