typo with return-code
This commit is contained in:
parent
39dad5af40
commit
9893da51b1
1 changed files with 1 additions and 1 deletions
|
@ -228,7 +228,7 @@ function getActualMode($logLines, $mmdvmconfigs) {
|
||||||
$timestamp->add(new DateInterval('PT' . $hangtime . 'S'));
|
$timestamp->add(new DateInterval('PT' . $hangtime . 'S'));
|
||||||
|
|
||||||
if ($now->format('U') > $timestamp->format('U')) {
|
if ($now->format('U') > $timestamp->format('U')) {
|
||||||
return idle;
|
return "idle";
|
||||||
} else {
|
} else {
|
||||||
return $mode;
|
return $mode;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue