Browse Source

changed NULL to FALSE by get_perm_id()

i found that error on my unit tests 😄
develop
Raphael Jackstadt 10 years ago
parent
commit
bcbf28b432
  1. 2
      application/libraries/Aauth.php

2
application/libraries/Aauth.php

@ -1614,7 +1614,7 @@ class Aauth {
$query = $this->aauth_db->get($this->config_vars['perms']);
if ($query->num_rows() == 0)
return NULL;
return FALSE;
$row = $query->row();
return $row->id;

Loading…
Cancel
Save