"fixed problem reported by Moe on the German list: if a ressource category is displayed, all displayed ressources are add to the event (eg. all meeting rooms)"

This commit is contained in:
Ralf Becker 2008-10-25 06:43:15 +00:00
parent ff16b360f0
commit 7e74bf28f0

View File

@ -88,7 +88,10 @@ class calendar_uiforms extends calendar_ui
{
if ($owner) // make an owner who is no user or we have no add-rights a participant
{
$extra_participants += explode(',',$owner);
foreach(explode(',',$owner) as $uid)
{
if (is_numeric($uid)) $extra_participants[] = $uid; // dont add eg. all resources of the displayed category
}
}
$owner = $this->user;
}