From df5999e2da82f156d0f4c87fa7ff24094394aeab Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Sun, 5 Mar 2006 10:19:53 +0000 Subject: [PATCH] fixed bug: resources are only bookable with users together (resource "disapears" if user gets removed from event) --- calendar/inc/class.uiforms.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/calendar/inc/class.uiforms.inc.php b/calendar/inc/class.uiforms.inc.php index 5489291343..6668141dcf 100644 --- a/calendar/inc/class.uiforms.inc.php +++ b/calendar/inc/class.uiforms.inc.php @@ -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) {