Browse Source

Merge pull request #240 from manukieli/patch-2

Patch 2
master
Emre Akay 7 years ago committed by GitHub
parent
commit
26a9500735
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      application/libraries/Aauth.php

2
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'] ) { if( $this->config_vars['no_permission'] ) {
$this->error($this->CI->lang->line('aauth_error_no_access')); $this->error($this->CI->lang->line('aauth_error_no_access'));
if($this->config_vars['no_permission'] !== FALSE){ if($this->config_vars['no_permission'] !== FALSE){

Loading…
Cancel
Save