mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-24 23:58:54 +01:00
Avoid type error while updating events if old_event is not found
This commit is contained in:
parent
b47f5a7f69
commit
c8589b6439
@ -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