Update Logbook_model.php

pull/2270/head
Peter Goodhall 2023-07-08 14:33:18 +01:00
rodzic 4dbc9bba08
commit bb682a0db3
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -3930,7 +3930,7 @@ class Logbook_model extends CI_Model {
*/
function find_correct_station_id($station_callsign, $my_gridsquare) {
$sql = 'select station_id from station_profile
where station_callsign = "' . $station_callsign . '" and station_gridsquare = "' . substr($my_gridsquare,0, 4) . '"';
where station_callsign = "' . $station_callsign . '" and station_gridsquare = "' .$my_gridsquare. '"';
$query = $this->db->query($sql);