Changed to filter apps with status of 2

This commit is contained in:
jengo 2001-06-07 02:28:55 +00:00
parent 950eb824d2
commit a4a728f0fa
2 changed files with 4 additions and 4 deletions

View File

@ -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++;
} }
} }

View File

@ -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++;
} }
} }