mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-31 09:33:48 +00:00
Group Permissions: Hide apps for which there are no permissions.
This commit is contained in:
@@ -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'];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user