Skip to content

Commit

Permalink
changed NULL to FALSE by get_perm_id()
Browse files Browse the repository at this point in the history
i found that error on my unit tests 😄
  • Loading branch information
REJack committed Jul 24, 2015
1 parent 461278b commit bcbf28b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/libraries/Aauth.php
Original file line number Diff line number Diff line change
Expand Up @@ -1614,7 +1614,7 @@ public function get_perm_id($perm_par) {
$query = $this->aauth_db->get($this->config_vars['perms']);

if ($query->num_rows() == 0)
return NULL;
return FALSE;

$row = $query->row();
return $row->id;
Expand Down

0 comments on commit bcbf28b

Please sign in to comment.