From 94782bee067c2bdf6b408622092447e4cb0796e3 Mon Sep 17 00:00:00 2001 From: nathangray Date: Mon, 26 Aug 2019 10:45:14 -0600 Subject: [PATCH] * Calendar - fix event owner and chair were always getting update notifications, regardless of preference --- calendar/inc/class.calendar_boupdate.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/calendar/inc/class.calendar_boupdate.inc.php b/calendar/inc/class.calendar_boupdate.inc.php index e0ae8057e8..a5367bc010 100644 --- a/calendar/inc/class.calendar_boupdate.inc.php +++ b/calendar/inc/class.calendar_boupdate.inc.php @@ -655,7 +655,7 @@ class calendar_boupdate extends calendar_bo } } case 'add_cancel': - if ($msg_is_response && ($old_event['owner'] == $userid || $role == 'CHAIR') || + if ($msg_is_response && ($old_event['owner'] == $userid || $role == 'CHAIR') && $msg_type == MSG_DELETED || $msg_type == MSG_ADDED || $msg_type == MSG_DISINVITE) { ++$want_update;