From bcbf28b432c0a07feef72d0116cd5fbfeb27ab7d Mon Sep 17 00:00:00 2001 From: Raphael Jackstadt Date: Fri, 24 Jul 2015 13:11:20 +0200 Subject: [PATCH] changed NULL to FALSE by get_perm_id() i found that error on my unit tests :smile: --- application/libraries/Aauth.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/libraries/Aauth.php b/application/libraries/Aauth.php index 043e646..d25df2c 100644 --- a/application/libraries/Aauth.php +++ b/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;