From ea338b7e2e782db6004d7435fcc9fd3bb161cebe Mon Sep 17 00:00:00 2001 From: dg9vh Date: Sat, 12 Aug 2017 15:27:10 +0200 Subject: [PATCH] hopefully fixed some ajax-errors --- include/functions.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/functions.php b/include/functions.php index 548fcaa..c290827 100644 --- a/include/functions.php +++ b/include/functions.php @@ -291,6 +291,8 @@ function getHeardList($logLines, $onlyLast) { continue; } else if(strpos($logLine,"bad LC received")) { continue; + } else if(strpos($logLine,"non repeater RF header received")) { + continue; } if(strpos($logLine, "0000")){ @@ -449,6 +451,8 @@ function getHeardList($logLines, $onlyLast) { $id =""; if ($mode == "D-Star") { $id = substr($callsign2, strpos($callsign2,"/") + 1); + if(!$id) + $id=""; }