fixed bug: resources are only bookable with users together (resource "disapears" if user gets removed from event)

This commit is contained in:
Ralf Becker 2006-03-05 10:19:53 +00:00
parent e890029659
commit df5999e2da

View File

@ -187,9 +187,9 @@ class uiforms extends uical
unset($event['new_alarm']);
unset($event['alarm']['delete_alarm']);
if (isset($content['participants']['accounts']) && !(isset($content['view']) && $content['view'])) // convert content => event
if (isset($content['participants']) && !(isset($content['view']) && $content['view'])) // convert content => event
{
//echo "participants-data"; _debug_array($content['participants']);
//echo "participants="; _debug_array($content['participants']);
$event['participants'] = $event['participant_types'] = array();
foreach($content['participants'] as $app => $participants)
{