Fix edit_users load problem with removed globals

acl_admin/base_acl_leve

Added public access methods to read this when array_* files are included.
This commit is contained in:
Clemens Schwaighofer
2023-01-10 16:01:02 +09:00
parent 00591deb00
commit b0293b52bd
2 changed files with 24 additions and 2 deletions

View File

@@ -331,10 +331,11 @@ $edit_users = [
// if base acl is not 90 only list enabled
// if not admin flag, do not list admin flagged
. (
!$_POST['acl_admin'] ?
!$this->getAclAdmin() ?
"WHERE admin = 0 "
. (
$_POST['base_acl_level'] < 90 ?
!$this->checkBaseACL(90) ?
// $_POST['base_acl_level'] < 90 ?
"AND enabled = 1 " :
""
)