mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-23 00:13:35 +01:00
fixes for each() error
This commit is contained in:
parent
3efdfd03d2
commit
b3ac135a54
@ -91,6 +91,10 @@
|
|||||||
// Group records
|
// Group records
|
||||||
$group_variable = 'g_'.$phpgw_info['flags']['currentapp'];
|
$group_variable = 'g_'.$phpgw_info['flags']['currentapp'];
|
||||||
|
|
||||||
|
if (!$$group_variable)
|
||||||
|
{
|
||||||
|
$$group_variable = array();
|
||||||
|
}
|
||||||
@reset($$group_variable);
|
@reset($$group_variable);
|
||||||
while(list($group_id,$acllist) = each($$group_variable))
|
while(list($group_id,$acllist) = each($$group_variable))
|
||||||
{
|
{
|
||||||
@ -105,6 +109,10 @@
|
|||||||
// User records
|
// User records
|
||||||
$user_variable = 'u_'.$phpgw_info['flags']['currentapp'];
|
$user_variable = 'u_'.$phpgw_info['flags']['currentapp'];
|
||||||
|
|
||||||
|
if (!$$user_variable)
|
||||||
|
{
|
||||||
|
$$user_variable = array();
|
||||||
|
}
|
||||||
@reset($$user_variable);
|
@reset($$user_variable);
|
||||||
while(list($user_id,$acllist) = each($$user_variable))
|
while(list($user_id,$acllist) = each($$user_variable))
|
||||||
{
|
{
|
||||||
|
@ -92,6 +92,10 @@
|
|||||||
// Group records
|
// Group records
|
||||||
$group_variable = 'g_'.$phpgw_info['flags']['currentapp'];
|
$group_variable = 'g_'.$phpgw_info['flags']['currentapp'];
|
||||||
|
|
||||||
|
if (!$$group_variable)
|
||||||
|
{
|
||||||
|
$$group_variable = array();
|
||||||
|
}
|
||||||
@reset($$group_variable);
|
@reset($$group_variable);
|
||||||
while(list($group_id,$acllist) = each($$group_variable))
|
while(list($group_id,$acllist) = each($$group_variable))
|
||||||
{
|
{
|
||||||
@ -105,7 +109,11 @@
|
|||||||
|
|
||||||
// User records
|
// User records
|
||||||
$user_variable = 'u_'.$phpgw_info['flags']['currentapp'];
|
$user_variable = 'u_'.$phpgw_info['flags']['currentapp'];
|
||||||
|
|
||||||
|
if (!$$user_variable)
|
||||||
|
{
|
||||||
|
$$user_variable = array();
|
||||||
|
}
|
||||||
@reset($$user_variable);
|
@reset($$user_variable);
|
||||||
while(list($user_id,$acllist) = each($$user_variable))
|
while(list($user_id,$acllist) = each($$user_variable))
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user