Update Logbook_model.php

pull/2270/head
Peter Goodhall 2023-07-08 14:32:42 +01:00
rodzic f070964f3b
commit 4dbc9bba08
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 like "%' . substr($my_gridsquare,0, 4) . '%"';
where station_callsign = "' . $station_callsign . '" and station_gridsquare = "' . substr($my_gridsquare,0, 4) . '"';
$query = $this->db->query($sql);