From 559d746b64d45ab4925d90d9e55bc284856a4b5a Mon Sep 17 00:00:00 2001 From: manukieli Date: Wed, 17 Oct 2018 19:06:12 +0200 Subject: [PATCH] Update Aauth.php Resolve this issues: https://github.com/magefly/CodeIgniter-Aauth/issues/236 --- application/libraries/Aauth.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/libraries/Aauth.php b/application/libraries/Aauth.php index 163750c..eb41978 100644 --- a/application/libraries/Aauth.php +++ b/application/libraries/Aauth.php @@ -421,7 +421,7 @@ class Aauth { } } - }else if ( ! $this->is_allowed($perm_id) OR ! $this->is_group_allowed($perm_id) ){ + }else if ( ! $this->is_allowed ($perm_id) ){ if( $this->config_vars['no_permission'] ) { $this->error($this->CI->lang->line('aauth_error_no_access')); if($this->config_vars['no_permission'] !== FALSE){