mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-26 18:03:39 +01:00
This will check to see if an event has any participants.
This commit is contained in:
parent
45b31e3e14
commit
6c5031943a
@ -764,7 +764,7 @@
|
|||||||
@reset($event['participants']);
|
@reset($event['participants']);
|
||||||
$uim = False;
|
$uim = False;
|
||||||
$security_equals = $GLOBALS['phpgw']->accounts->membership($user);
|
$security_equals = $GLOBALS['phpgw']->accounts->membership($user);
|
||||||
while(!$uim && $security_equals && list($participant,$status) = each($event['participants']))
|
while(!$uim && $event['participants'] && $security_equals && list($participant,$status) = each($event['participants']))
|
||||||
{
|
{
|
||||||
if($GLOBALS['phpgw']->accounts->get_type($participant) == 'g')
|
if($GLOBALS['phpgw']->accounts->get_type($participant) == 'g')
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user