diff --git a/include/functions.php b/include/functions.php index 20e9123..7983166 100644 --- a/include/functions.php +++ b/include/functions.php @@ -400,7 +400,7 @@ function getActualMode($metaLastHeard, $mmdvmconfigs) { if (startsWith($mode, "DMR")) { $mode = "DMR"; } - if ($listElem[7] ==="") { + if (defined("ENABLEXTDLOOKUP") && $listElem[7] == null || !defined("ENABLEXTDLOOKUP") && $listElem[6] == null) { return "".$mode.""; } else { $now = new DateTime(); diff --git a/include/repeaterinfo.php b/include/repeaterinfo.php index ee69f65..bbf775e 100644 --- a/include/repeaterinfo.php +++ b/include/repeaterinfo.php @@ -64,7 +64,7 @@ } else { echo ""; } - echo getConfigItem("DMR Network", "Address", $mmdvmconfigs).""; + echo getConfigItem("DMR Network", "Address", $mmdvmconfigs)." (".getDMRNetwork().")"; ?>