mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-28 19:03:14 +01:00
Avoid type error while updating events if old_event is not found
This commit is contained in:
parent
1d1889bf87
commit
fb0c4d7db7
@ -1414,7 +1414,7 @@ class calendar_boupdate extends calendar_bo
|
||||
// Update history
|
||||
$tracking = new calendar_tracking($this);
|
||||
if (empty($event['id']) && !empty($cal_id)) $event['id']=$cal_id;
|
||||
$tracking->track($save_event, $old_event);
|
||||
$tracking->track($save_event, (array)$old_event);
|
||||
|
||||
return $cal_id;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user