diff --git a/include/functions.php b/include/functions.php index e95a7f7..49fec2b 100644 --- a/include/functions.php +++ b/include/functions.php @@ -228,7 +228,7 @@ function getActualMode($logLines, $mmdvmconfigs) { $timestamp->add(new DateInterval('PT' . $hangtime . 'S')); if ($now->format('U') > $timestamp->format('U')) { - return idle; + return "idle"; } else { return $mode; }