fix for bug #15: Ressource time slots not checked in freetime search

This commit is contained in:
Ralf Becker 2006-12-27 15:04:37 +00:00
parent 3bf6bb24ed
commit b2d586add6

View File

@ -864,7 +864,7 @@ class uiforms extends uical
{
if ($app == 'accounts')
{
$content['participants'] += $ids;
$content['participants'] += (array)$ids;
}
elseif ($ids)
{
@ -872,7 +872,7 @@ class uiforms extends uical
{
if ($data['app'] == $app) break;
}
foreach($ids as $id)
foreach((array)$ids as $id)
{
$content['participants'][] = $type . $id;
}