forked from extern/egroupware
fixed bug: resources are only bookable with users together (resource "disapears" if user gets removed from event)
This commit is contained in:
parent
e890029659
commit
df5999e2da
@ -187,9 +187,9 @@ class uiforms extends uical
|
|||||||
unset($event['new_alarm']);
|
unset($event['new_alarm']);
|
||||||
unset($event['alarm']['delete_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();
|
$event['participants'] = $event['participant_types'] = array();
|
||||||
foreach($content['participants'] as $app => $participants)
|
foreach($content['participants'] as $app => $participants)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user