diff --git a/public/include/classes/user.class.php b/public/include/classes/user.class.php index 6c5e65ed..27608ae5 100644 --- a/public/include/classes/user.class.php +++ b/public/include/classes/user.class.php @@ -390,7 +390,7 @@ class User extends Base { $this->user = array('username' => $row_username, 'id' => $row_id, 'is_admin' => $row_admin); return strtolower($username) === strtolower($row_username); } - return false; + return $this->sqlError(); } /**