diff --git a/application/libraries/Aauth.php b/application/libraries/Aauth.php index 163750c..302dfe8 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){