filtering out numeric callsigns from resolving to prevent false resolve of reflectors etc.

This commit is contained in:
dg9vh 2016-07-21 19:25:29 +00:00
parent 437fcc8a21
commit fc0369be0f
2 changed files with 4 additions and 1 deletions

View file

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

View file

@ -1,3 +1,3 @@
<?php <?php
define("VERSION", "20160718-1"); define("VERSION", "20160721-1");
?> ?>