fixing warnings in error.log if heardList is empty...
This commit is contained in:
parent
ec42b59a10
commit
6c274f8e90
2 changed files with 3 additions and 1 deletions
|
@ -530,6 +530,8 @@ function getLastHeard($logLines, $onlyLast) {
|
|||
}
|
||||
|
||||
function getActualMode($metaLastHeard, $mmdvmconfigs) {
|
||||
if (count($metaLastHeard) == 0)
|
||||
return _("idle");
|
||||
// returns mode of repeater actual working in
|
||||
$listElem = $metaLastHeard[0];
|
||||
$timestamp = new DateTime($listElem[0],new DateTimeZone(TIMEZONE));
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
<?php
|
||||
define("VERSION", "20170407-1 (".getGitVersion().")");
|
||||
define("VERSION", "20170415-1 (".getGitVersion().")");
|
||||
?>
|
||||
|
|
Loading…
Reference in a new issue