mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
Make sure clublog-creds are really(!) there
This commit is contained in:
@@ -349,7 +349,9 @@ class Clublog_model extends CI_Model
|
||||
function all_enabled($userid) {
|
||||
$sql = "select sp.station_callsign, group_concat(sp.station_id) as station_ids from station_profile sp
|
||||
inner join users u on (u.user_id=sp.user_id)
|
||||
where u.user_clublog_name is not null and u.user_clublog_password is not null and sp.clublogignore=0 and u.user_id=?
|
||||
where u.user_clublog_name is not null and u.user_clublog_password is not null
|
||||
and trim(u.user_clublog_name) != '' and trim(u.user_clublog_password) != ''
|
||||
and sp.clublogignore=0 and u.user_id=?
|
||||
group by sp.station_callsign";
|
||||
$query = $this->db->query($sql, $userid);
|
||||
return $query;
|
||||
|
||||
Reference in New Issue
Block a user