mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-23 00:13:35 +01:00
silence php warning on copy event, when no alarm ios set
This commit is contained in:
parent
3087b84d28
commit
55d9f86b22
@ -506,11 +506,14 @@ class calendar_uiforms extends calendar_ui
|
||||
}
|
||||
|
||||
// Copy alarms
|
||||
if (is_array($event['alarm']))
|
||||
{
|
||||
foreach($event['alarm'] as $n => &$alarm)
|
||||
{
|
||||
unset($alarm['id']);
|
||||
unset($alarm['cal_id']);
|
||||
}
|
||||
}
|
||||
|
||||
// Get links to be copied
|
||||
// With no ID, $content['link_to']['to_id'] is used
|
||||
|
Loading…
Reference in New Issue
Block a user