fixed issue with mode-display
This commit is contained in:
parent
ab03016c7e
commit
3a84ae674b
2 changed files with 3 additions and 3 deletions
4
ajax.php
4
ajax.php
|
@ -25,9 +25,9 @@ if (!defined("TIMEZONE"))
|
||||||
define("TIMEZONE", "UTC");
|
define("TIMEZONE", "UTC");
|
||||||
$logLinesMMDVM = getMMDVMLog();
|
$logLinesMMDVM = getMMDVMLog();
|
||||||
$reverseLogLinesMMDVM = $logLinesMMDVM;
|
$reverseLogLinesMMDVM = $logLinesMMDVM;
|
||||||
array_multisort($reverseLogLinesMMDVM,SORT_DESC);
|
rsort($reverseLogLinesMMDVM);
|
||||||
if ($_GET['section'] == "mode") {
|
if ($_GET['section'] == "mode") {
|
||||||
$mode = getActualMode(getLastHeard($reverseLogLinesMMDVM, TRUE), $mmdvmconfigs);
|
$mode = getActualMode(getLastHeard($reverseLogLinesMMDVM, FALSE), $mmdvmconfigs);
|
||||||
echo $mode;
|
echo $mode;
|
||||||
}
|
}
|
||||||
if ($_GET['section'] == "lastHeard") {
|
if ($_GET['section'] == "lastHeard") {
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
<?php
|
<?php
|
||||||
define("VERSION", "20170321-1 (".getGitVersion().")");
|
define("VERSION", "20170322-1 (".getGitVersion().")");
|
||||||
?>
|
?>
|
||||||
|
|
Loading…
Reference in a new issue