diff options
Diffstat (limited to 'application/models')
-rw-r--r-- | application/models/muser.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/application/models/muser.php b/application/models/muser.php index 657c0bfc9..ee086994d 100644 --- a/application/models/muser.php +++ b/application/models/muser.php @@ -127,6 +127,10 @@ class Muser extends CI_Model { function username_exists($username) { + if ($username === false) { + return false; + } + $query = $this->db->query(" SELECT id FROM users |