Fix extra empty participant in new event for another user from planner by user view

This commit is contained in:
Nathan Gray 2016-04-27 23:06:51 +00:00
parent aee540d7bb
commit 67faad146f

View File

@ -89,7 +89,7 @@ class calendar_uiforms extends calendar_ui
$extra_participants += $owner; $extra_participants += $owner;
$owner = count($owner) > 1 ? $this->user : $owner[0]; $owner = count($owner) > 1 ? $this->user : $owner[0];
} }
else else if ($owner)
{ {
$extra_participants[] = $owner; $extra_participants[] = $owner;
} }