mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 16:48:49 +01:00
Small fix to get the header working if the individual is not a member of a group.
This commit is contained in:
parent
a364c687e8
commit
e31ca7ffa5
@ -176,7 +176,7 @@
|
||||
);
|
||||
}
|
||||
$memberships = $GLOBALS['phpgw']->accounts->membership($GLOBALS['phpgw_info']['user']['account_id']);
|
||||
while(list($key,$group_info) = each($memberships))
|
||||
while($memberships != False && list($key,$group_info) = each($memberships))
|
||||
{
|
||||
$account_perms = $GLOBALS['phpgw']->acl->get_ids_for_location($group_info['account_id'],PHPGW_ACL_READ,'calendar');
|
||||
while($account_perms && list($key,$group_id) = each($account_perms))
|
||||
|
@ -176,7 +176,7 @@
|
||||
);
|
||||
}
|
||||
$memberships = $GLOBALS['phpgw']->accounts->membership($GLOBALS['phpgw_info']['user']['account_id']);
|
||||
while(list($key,$group_info) = each($memberships))
|
||||
while($memberships != False && list($key,$group_info) = each($memberships))
|
||||
{
|
||||
$account_perms = $GLOBALS['phpgw']->acl->get_ids_for_location($group_info['account_id'],PHPGW_ACL_READ,'calendar');
|
||||
while($account_perms && list($key,$group_id) = each($account_perms))
|
||||
|
@ -176,7 +176,7 @@
|
||||
);
|
||||
}
|
||||
$memberships = $GLOBALS['phpgw']->accounts->membership($GLOBALS['phpgw_info']['user']['account_id']);
|
||||
while(list($key,$group_info) = each($memberships))
|
||||
while($memberships != False && list($key,$group_info) = each($memberships))
|
||||
{
|
||||
$account_perms = $GLOBALS['phpgw']->acl->get_ids_for_location($group_info['account_id'],PHPGW_ACL_READ,'calendar');
|
||||
while($account_perms && list($key,$group_id) = each($account_perms))
|
||||
|
@ -176,7 +176,7 @@
|
||||
);
|
||||
}
|
||||
$memberships = $GLOBALS['phpgw']->accounts->membership($GLOBALS['phpgw_info']['user']['account_id']);
|
||||
while(list($key,$group_info) = each($memberships))
|
||||
while($memberships != False && list($key,$group_info) = each($memberships))
|
||||
{
|
||||
$account_perms = $GLOBALS['phpgw']->acl->get_ids_for_location($group_info['account_id'],PHPGW_ACL_READ,'calendar');
|
||||
while($account_perms && list($key,$group_id) = each($account_perms))
|
||||
|
Loading…
Reference in New Issue
Block a user