]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-list_admins_acls.php
'NO-ACL' is more clear that we don't have an ACL for the given admin than three aster...
[mailer.git] / inc / modules / admin / what-list_admins_acls.php
index e8159b074c4d8f31666889d61138f2ef1b0676a5..b5fb48cd431921d87c15ced76d06f91b6d924940 100644 (file)
@@ -154,7 +154,7 @@ LIMIT 1",
        $ACL = false;
        if (isPostRequestParameterSet('what_menu')) {
                // Check parent ACL
        $ACL = false;
        if (isPostRequestParameterSet('what_menu')) {
                // Check parent ACL
-               $ACL = adminsCheckAdminAcl(getActionFromModuleWhat('admin', postRequestParameter('what_menu')), '');
+               $ACL = isAdminsAllowedByAcl(getActionFromModuleWhat('admin', postRequestParameter('what_menu')), '');
        } // END - if
 
        if (($mode != postRequestParameter('mode')) || (($ACL === true) && (postRequestParameter('mode') == 'deny'))) {
        } // END - if
 
        if (($mode != postRequestParameter('mode')) || (($ACL === true) && (postRequestParameter('mode') == 'deny'))) {