Group Permissions: Hide apps for which there are no permissions.
This commit is contained in:
parent
e869a9a70e
commit
59bb7d04c7
|
|
@ -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'];
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue