From 148a28f0b28de948152f0f15a90b492d2422ca15 Mon Sep 17 00:00:00 2001 From: phl0 Date: Tue, 20 Sep 2016 13:14:03 +0200 Subject: [PATCH] dd P25 to getLastHeard --- include/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/functions.php b/include/functions.php index 6e7bd26..7fabb9b 100644 --- a/include/functions.php +++ b/include/functions.php @@ -285,7 +285,7 @@ function getLastHeard($logLines, $onlyLast) { $heardList = getHeardList($logLines, $onlyLast); $counter = 0; foreach ($heardList as $listElem) { - if ( ($listElem[1] == "D-Star") || ($listElem[1] == "YSF") || (startsWith($listElem[1], "DMR")) ) { + if ( ($listElem[1] == "D-Star") || ($listElem[1] == "YSF") || ($listElem[1] == "P25") || (startsWith($listElem[1], "DMR")) ) { if(!(array_search($listElem[2]."#".$listElem[1].$listElem[3], $heardCalls) > -1)) { array_push($heardCalls, $listElem[2]."#".$listElem[1].$listElem[3]); array_push($lastHeard, $listElem);