Update Logbook_model.php

这个提交包含在:
Peter Goodhall 2023-07-08 14:33:18 +01:00
父节点 4dbc9bba08
当前提交 bb682a0db3

查看文件

@ -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);