Remove participant restriction on new events to just users or groups, now we add any contacts or resources selected as well

This commit is contained in:
nathangray 2016-06-21 11:17:06 -06:00
parent dc8ab4cfc0
commit fc53782f60

View File

@ -121,11 +121,7 @@ class calendar_uiforms extends calendar_ui
{ {
foreach($owner as $uid) foreach($owner as $uid)
{ {
// only add users or a single ressource, not all ressources displayed by a category $extra_participants[] = $uid;
if (is_numeric($uid) || $owner == $uid)
{
$extra_participants[] = $uid;
}
} }
} }
} }