mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-04 20:40:14 +01:00
More fixes for no participants defined for an event.
This commit is contained in:
parent
55affe73c7
commit
967b84fa3a
@ -394,6 +394,8 @@
|
||||
break;
|
||||
}
|
||||
|
||||
if($l_participants)
|
||||
{
|
||||
$parts = $l_participants;
|
||||
$minparts = min($l_participants);
|
||||
$part = Array();
|
||||
@ -421,16 +423,22 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
$part = False;
|
||||
}
|
||||
}
|
||||
|
||||
if($part)
|
||||
{
|
||||
@reset($part);
|
||||
while(list($key,$value) = each($part))
|
||||
{
|
||||
$this->so->add_attribute('participants','U',intval($key));
|
||||
}
|
||||
}
|
||||
|
||||
// reset($participants);
|
||||
$event = $this->get_cached_event();
|
||||
|
||||
if(!@$event['participants'][$l_cal['owner']])
|
||||
{
|
||||
$this->so->add_attribute('owner',$minparts);
|
||||
|
Loading…
Reference in New Issue
Block a user