diff --git a/admin/editaccount.php b/admin/editaccount.php index e7cf6a527b..6eab3cc295 100755 --- a/admin/editaccount.php +++ b/admin/editaccount.php @@ -173,7 +173,7 @@ @reset($availableApps); while ($application = each($availableApps)) { - if ($application[1]['enabled']) + if ($application[1]['enabled'] && $application[1]['status'] != 2) { $perm_display[$i]['appName'] = $application[0]; $perm_display[$i]['translatedName'] = $application[1]['title']; diff --git a/admin/newaccount.php b/admin/newaccount.php index a3aa1348b8..3eb1ebc6c3 100755 --- a/admin/newaccount.php +++ b/admin/newaccount.php @@ -313,7 +313,7 @@ @reset($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][1] = $permission[1]['title']; diff --git a/admin/viewaccount.php b/admin/viewaccount.php index cab6ccbf91..5d146ca7ab 100755 --- a/admin/viewaccount.php +++ b/admin/viewaccount.php @@ -130,7 +130,7 @@ @reset($availableApps); while ($application = each($availableApps)) { - if ($application[1]['enabled']) + if ($application[1]['enabled'] && $application[1]['status'] != 2) { $perm_display[$i]['appName'] = $application[0]; $perm_display[$i]['translatedName'] = $application[1]['title'];