mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-23 07:09:20 +01:00
Changed to filter apps with status of 2
This commit is contained in:
parent
950eb824d2
commit
a4a728f0fa
@ -238,10 +238,10 @@
|
|||||||
@reset($sorted_apps);
|
@reset($sorted_apps);
|
||||||
while ($permission = each($sorted_apps))
|
while ($permission = each($sorted_apps))
|
||||||
{
|
{
|
||||||
if ($permission[1]["enabled"])
|
if ($permission[1]['enabled'] && $permission[1]['status'] != 2)
|
||||||
{
|
{
|
||||||
$perm_display[$i][0] = $permission[0];
|
$perm_display[$i][0] = $permission[0];
|
||||||
$perm_display[$i][1] = $permission[1]["title"];
|
$perm_display[$i][1] = $permission[1]['title'];
|
||||||
$i++;
|
$i++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -218,10 +218,10 @@
|
|||||||
@reset($sorted_apps);
|
@reset($sorted_apps);
|
||||||
while ($permission = each($sorted_apps))
|
while ($permission = each($sorted_apps))
|
||||||
{
|
{
|
||||||
if ($permission[1]["enabled"])
|
if ($permission[1]['enabled'] && $permission[1]['status'] != 2)
|
||||||
{
|
{
|
||||||
$perm_display[$i][0] = $permission[0];
|
$perm_display[$i][0] = $permission[0];
|
||||||
$perm_display[$i][1] = $permission[1]["title"];
|
$perm_display[$i][1] = $permission[1]['title'];
|
||||||
$i++;
|
$i++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user