]> git.mxchange.org Git - mailer.git/blobdiff - inc/libs/admins_functions.php
ext-admins must be checked here, first admin had never 'allow'
[mailer.git] / inc / libs / admins_functions.php
index 1e85afc09005cbc875df914a2e4c4814c90966f8..46ac5a0f89d08b328ebd2c05f36c7838f308c344 100644 (file)
@@ -54,7 +54,7 @@ function isAdminsAllowedByAcl ($action, $what) {
        }
 
        // But default result is failed
-       $GLOBALS[__FUNCTION__][$action][$what] = FALSE;
+       $GLOBALS[__FUNCTION__][$adminId][$action][$what] = FALSE;
 
        // Get admin's defult access right
        $default = getAdminDefaultAcl($adminId);