We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 85e4046 + 0e5930c commit 4702fabCopy full SHA for 4702fab
application/models/Clublog_model.php
@@ -349,7 +349,9 @@ function disable_sync4call($call, $stations) {
349
function all_enabled($userid) {
350
$sql = "select sp.station_callsign, group_concat(sp.station_id) as station_ids from station_profile sp
351
inner join users u on (u.user_id=sp.user_id)
352
- 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
353
+ and trim(u.user_clublog_name) != '' and trim(u.user_clublog_password) != ''
354
+ and sp.clublogignore=0 and u.user_id=?
355
group by sp.station_callsign";
356
$query = $this->db->query($sql, $userid);
357
return $query;
0 commit comments