Correctly handle when county isn't actually needed

pull/1489/head
Peter Goodhall 2022-06-01 11:07:14 +01:00
rodzic 1626571c67
commit e2b6a71d7c
1 zmienionych plików z 4 dodań i 4 usunięć

Wyświetl plik

@ -855,11 +855,11 @@ class Logbook_model extends CI_Model {
{
$data = $query->row();
$qsl_county = $data->COL_CNTY;
$qsl_county = substr($qsl_county, (strpos($qsl_county, ',')+1));
return $qsl_county;
} else {
return NULL;
}
// Strip state identifier
$qsl_county = substr($qsl_county, (strpos($qsl_county, ',')+1));
return $qsl_county;
}
function call_qth($callsign) {