diff --git a/application/models/User_model.php b/application/models/User_model.php index f08559a0..04126437 100644 --- a/application/models/User_model.php +++ b/application/models/User_model.php @@ -45,6 +45,7 @@ class User_Model extends CI_Model { // Returns all users with lotw details function get_all_lotw_users() { $this->db->where('user_lotw_name !=', null); + $this->db->where('user_lotw_name !=', ""); $r = $this->db->get($this->config->item('auth_table')); return $r; }