mirror of
https://github.com/magicbug/Cloudlog
synced 2026-08-13 17:49:35 -04:00
Correctly handle when county isn't actually needed
This commit is contained in:
parent
1626571c67
commit
e2b6a71d7c
1 changed files with 4 additions and 4 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue