filtering out numeric callsigns from resolving to prevent false resolve of reflectors etc.
This commit is contained in:
parent
437fcc8a21
commit
fc0369be0f
2 changed files with 4 additions and 1 deletions
|
@ -479,6 +479,9 @@ function getActiveYSFReflectors($logLines) {
|
||||||
}
|
}
|
||||||
|
|
||||||
function getName($callsign) {
|
function getName($callsign) {
|
||||||
|
if (is_numeric($callsign)) {
|
||||||
|
return "---";
|
||||||
|
}
|
||||||
$callsign = trim($callsign);
|
$callsign = trim($callsign);
|
||||||
if (strpos($callsign,"-")) {
|
if (strpos($callsign,"-")) {
|
||||||
$callsign = substr($callsign,0,strpos($callsign,"-"));
|
$callsign = substr($callsign,0,strpos($callsign,"-"));
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
<?php
|
<?php
|
||||||
define("VERSION", "20160718-1");
|
define("VERSION", "20160721-1");
|
||||||
?>
|
?>
|
Loading…
Reference in a new issue