INNER JOIN fits here - tnx LA8AJA

This commit is contained in:
int2001
2026-01-01 12:35:07 +00:00
parent 2904db859f
commit f35ba3f1b3

View File

@@ -1097,7 +1097,7 @@ class Logbook_model extends CI_Model {
prof.clublogrealtime,
auth.user_clublog_name as ucn, auth.user_clublog_password as ucp
FROM station_profile prof
LEFT JOIN ' . $this->config->item('auth_table') . ' auth ON (auth.user_id = prof.user_id)
INNER JOIN ' . $this->config->item('auth_table') . ' auth ON (auth.user_id = prof.user_id)
WHERE prof.station_id = ?';
$query = $this->db->query($sql, $station_id);