dd P25 to getLastHeard
This commit is contained in:
parent
2536f4dc1c
commit
148a28f0b2
1 changed files with 1 additions and 1 deletions
|
@ -285,7 +285,7 @@ function getLastHeard($logLines, $onlyLast) {
|
||||||
$heardList = getHeardList($logLines, $onlyLast);
|
$heardList = getHeardList($logLines, $onlyLast);
|
||||||
$counter = 0;
|
$counter = 0;
|
||||||
foreach ($heardList as $listElem) {
|
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)) {
|
if(!(array_search($listElem[2]."#".$listElem[1].$listElem[3], $heardCalls) > -1)) {
|
||||||
array_push($heardCalls, $listElem[2]."#".$listElem[1].$listElem[3]);
|
array_push($heardCalls, $listElem[2]."#".$listElem[1].$listElem[3]);
|
||||||
array_push($lastHeard, $listElem);
|
array_push($lastHeard, $listElem);
|
||||||
|
|
Loading…
Reference in a new issue