From fc53782f60bb19fd6088e881077ce64c2059cffa Mon Sep 17 00:00:00 2001 From: nathangray Date: Tue, 21 Jun 2016 11:17:06 -0600 Subject: [PATCH] Remove participant restriction on new events to just users or groups, now we add any contacts or resources selected as well --- calendar/inc/class.calendar_uiforms.inc.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/calendar/inc/class.calendar_uiforms.inc.php b/calendar/inc/class.calendar_uiforms.inc.php index 6757bfcee1..f27e7858ab 100644 --- a/calendar/inc/class.calendar_uiforms.inc.php +++ b/calendar/inc/class.calendar_uiforms.inc.php @@ -121,11 +121,7 @@ class calendar_uiforms extends calendar_ui { foreach($owner as $uid) { - // only add users or a single ressource, not all ressources displayed by a category - if (is_numeric($uid) || $owner == $uid) - { - $extra_participants[] = $uid; - } + $extra_participants[] = $uid; } } }