Skip to content

Commit

Permalink
sry thats was my failure
Browse files Browse the repository at this point in the history
  • Loading branch information
REJack committed Nov 10, 2015
1 parent 50ddf8b commit c7e05f0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions application/libraries/Aauth.php
Original file line number Diff line number Diff line change
Expand Up @@ -1556,7 +1556,7 @@ public function allow_user($user_id, $perm_par) {
$perm_id = $this->get_perm_id($perm_par);

if( ! $perm_id) {
return TRUE;
return FALSE;
}

$query = $this->aauth_db->where('user_id',$user_id);
Expand Down Expand Up @@ -1607,13 +1607,13 @@ public function allow_group($group_par, $perm_par) {
$perm_id = $this->get_perm_id($perm_par);

if( ! $perm_id) {
return TRUE;
return FALSE;
}

$group_id = $this->get_group_id($group_par);

if( ! $group_id) {
return TRUE;
return FALSE;
}

$query = $this->aauth_db->where('group_id',$group_id);
Expand Down

0 comments on commit c7e05f0

Please sign in to comment.