From bad471d7772340d539f850fd5eaf51b9c28bfc30 Mon Sep 17 00:00:00 2001 From: dg9vh Date: Fri, 16 Sep 2016 15:43:25 +0000 Subject: [PATCH] removed reflector-numbers and ID-replys from QRZ.com-lookup --- include/lh.php | 2 +- include/localtx.php | 2 +- txinfo.php | 2 +- version.php | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/include/lh.php b/include/lh.php index 5491f75..b6dac32 100644 --- a/include/lh.php +++ b/include/lh.php @@ -34,7 +34,7 @@ for ($i = 0; ($i < $totalLH); $i++) { echo""; echo"$listElem[0]"; echo"$listElem[1]"; - if (constant("SHOWQRZ") && $listElem[2] !== "??????????") { + if (constant("SHOWQRZ") && $listElem[2] !== "??????????" && !is_numeric($listElem[2])) { echo"".str_replace("0","Ø",$listElem[2]).""; } else { echo"".str_replace("0","Ø",$listElem[2]).""; diff --git a/include/localtx.php b/include/localtx.php index ff69daa..368ad4e 100644 --- a/include/localtx.php +++ b/include/localtx.php @@ -38,7 +38,7 @@ for ($i = 0; $i < count($localTXList); $i++) { echo""; echo"$listElem[0]"; echo"$listElem[1]"; - if (constant("SHOWQRZ")) { + if (constant("SHOWQRZ") && $listElem[2] !== "??????????" && !is_numeric($listElem[2])) { echo"".str_replace("0","Ø",$listElem[2]).""; } else { echo"".str_replace("0","Ø",$listElem[2]).""; diff --git a/txinfo.php b/txinfo.php index 7fb3aeb..425086b 100644 --- a/txinfo.php +++ b/txinfo.php @@ -14,7 +14,7 @@ foreach ($lastHeard as $listElem) { if ($listElem[6] == null) { echo"$listElem[0]"; echo"$listElem[1]"; - if (constant("SHOWQRZ")) { + if (constant("SHOWQRZ") && $listElem[2] !== "??????????" && !is_numeric($listElem[2])) { echo"".str_replace("0","Ø",$listElem[2]).""; } else { echo"".str_replace("0","Ø",$listElem[2]).""; diff --git a/version.php b/version.php index fd1689f..2ab3535 100644 --- a/version.php +++ b/version.php @@ -1,3 +1,3 @@