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 9b7f308342
commit 6bc609c68b

View File

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