Calendar - fix missing history log entry when changing status via context menu

This commit is contained in:
nathangray 2017-10-11 15:10:59 -06:00
parent 448cc8975f
commit 1a6820a5aa

View File

@ -1614,6 +1614,9 @@ class calendar_boupdate extends calendar_bo
'A' => MSG_ACCEPTED,
'D' => MSG_DELEGATED,
);
// Reset cached event
static::$cached_event = array();
if (isset($status2msg[$status]) && !$skip_notification)
{
if (!is_array($event)) $event = $this->read($cal_id);