diff --git a/application/models/Stats.php b/application/models/Stats.php index eab3503c9..e3dac56c5 100644 --- a/application/models/Stats.php +++ b/application/models/Stats.php @@ -530,6 +530,7 @@ from " . $this->config->item('table_name') . " where station_id in (". implode(',', $logbooks_locations_array) .") and col_prop_mode = 'SAT' + and coalesce(col_sat_name, '') <> '' group by upper(col_sat_name), col_mode, coalesce(col_submode, '')"; $result = $this->db->query($sql);