Update users.php

This commit is contained in:
FusionPBX 2019-08-18 05:44:06 -06:00 committed by GitHub
parent 8da024025f
commit cd8b0aec9d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 3 deletions

View File

@ -75,9 +75,7 @@
}
$sql_where .= "and ( ";
$sql_where .= " group_level <= :group_level ";
if (permission_exists('user_all')) {
$sql_where .= " or group_level is null ";
}
$sql_where .= " or group_level is null ";
$sql_where .= ") ";
$parameters['group_level'] = $_SESSION['user']['group_level'];