remove more error messages
This commit is contained in:
parent
0b873b9522
commit
4408d1cff8
2 changed files with 7 additions and 3 deletions
|
@ -388,7 +388,9 @@ function getActualLink($logLines, $mode) {
|
||||||
break;
|
break;
|
||||||
case "DMR Slot 1":
|
case "DMR Slot 1":
|
||||||
foreach ($logLines as $logLine) {
|
foreach ($logLines as $logLine) {
|
||||||
if(substr($logLine, 27, strpos($logLine,",") - 27) == "DMR Slot 1") {
|
if(strpos($logLine,"unable to decode the network CSBK")) {
|
||||||
|
continue;
|
||||||
|
} else if(substr($logLine, 27, strpos($logLine,",") - 27) == "DMR Slot 1") {
|
||||||
$to = "";
|
$to = "";
|
||||||
if (strpos($logLine,"to")) {
|
if (strpos($logLine,"to")) {
|
||||||
$to = trim(substr($logLine, strpos($logLine,"to") + 3));
|
$to = trim(substr($logLine, strpos($logLine,"to") + 3));
|
||||||
|
@ -402,7 +404,9 @@ function getActualLink($logLines, $mode) {
|
||||||
break;
|
break;
|
||||||
case "DMR Slot 2":
|
case "DMR Slot 2":
|
||||||
foreach ($logLines as $logLine) {
|
foreach ($logLines as $logLine) {
|
||||||
if(substr($logLine, 27, strpos($logLine,",") - 27) == "DMR Slot 2") {
|
if(strpos($logLine,"unable to decode the network CSBK")) {
|
||||||
|
continue;
|
||||||
|
} else if(substr($logLine, 27, strpos($logLine,",") - 27) == "DMR Slot 2") {
|
||||||
$to = "";
|
$to = "";
|
||||||
if (strpos($logLine,"to")) {
|
if (strpos($logLine,"to")) {
|
||||||
$to = trim(substr($logLine, strpos($logLine,"to") + 3));
|
$to = trim(substr($logLine, strpos($logLine,"to") + 3));
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
<?php
|
<?php
|
||||||
define("VERSION", "20160711-2");
|
define("VERSION", "20160711-3");
|
||||||
?>
|
?>
|
Loading…
Reference in a new issue