Browse Source

sry thats was my failure

develop
REJack 10 years ago
parent
commit
c7e05f0265
  1. 6
      application/libraries/Aauth.php

6
application/libraries/Aauth.php

@ -1556,7 +1556,7 @@ class Aauth {
$perm_id = $this->get_perm_id($perm_par); $perm_id = $this->get_perm_id($perm_par);
if( ! $perm_id) { if( ! $perm_id) {
return TRUE; return FALSE;
} }
$query = $this->aauth_db->where('user_id',$user_id); $query = $this->aauth_db->where('user_id',$user_id);
@ -1607,13 +1607,13 @@ class Aauth {
$perm_id = $this->get_perm_id($perm_par); $perm_id = $this->get_perm_id($perm_par);
if( ! $perm_id) { if( ! $perm_id) {
return TRUE; return FALSE;
} }
$group_id = $this->get_group_id($group_par); $group_id = $this->get_group_id($group_par);
if( ! $group_id) { if( ! $group_id) {
return TRUE; return FALSE;
} }
$query = $this->aauth_db->where('group_id',$group_id); $query = $this->aauth_db->where('group_id',$group_id);

Loading…
Cancel
Save