fixed repeater-info (showing network only if set)

This commit is contained in:
dg9vh 2016-11-03 18:40:13 +00:00
parent c1893cd847
commit 2e224eea7c
2 changed files with 6 additions and 2 deletions

View file

@ -64,7 +64,11 @@
} else {
echo "<span class=\"label label-danger\" title=\"Master not connected\">";
}
echo getConfigItem("DMR Network", "Address", $mmdvmconfigs)." (".getDMRNetwork().")</td>";
echo getConfigItem("DMR Network", "Address", $mmdvmconfigs);
if (strlen(getDMRNetwork()) > 0 ) {
echo " (".getDMRNetwork().")";
}
echo "</td>";
?>
</span>
<td><span class="label <?php

View file

@ -1,3 +1,3 @@
<?php
define("VERSION", "20161103-1");
define("VERSION", "20161103-2");
?>