Group Permissions: Hide apps for which there are no permissions.

This commit is contained in:
Nate Jones
2015-04-15 17:52:46 +00:00
parent e869a9a70e
commit 59bb7d04c7

View File

@@ -362,6 +362,9 @@ require_once "resources/require.php";
//list all the permissions
foreach($apps as $app_index => $app) {
//hide apps for which there are no permissions
if (!is_array($app['permissions']) || sizeof($app['permissions']) == 0) { continue; }
$app_name = $app['name'];
$description = $app['description']['en-us'];