Fix unwanted extra participants in consolidated views when new event participant preference is 'just me'

This commit is contained in:
nathangray 2016-09-12 12:00:49 -06:00
parent 16b131c883
commit 23f5e5fb70

View File

@ -93,8 +93,11 @@ class calendar_uiforms extends calendar_ui
{
$owner = $_GET['owner'];
if(is_array($owner))
{
if($this->cal_prefs['default_participant'])
{
$extra_participants += $owner;
}
$owner = count($owner) > 1 ? $this->user : $owner[0];
}
else if ($owner)