Fix: availability-map showed ping devices as warning. (#7592)

This commit is contained in:
Zmegolaz
2017-10-31 14:15:23 +01:00
committed by Tony Murray
parent 0cf8c2615f
commit 03820d3bd8

View File

@@ -209,7 +209,7 @@ if (defined('SHOW_SETTINGS')) {
$deviceLabel = "label-default";
$host_ignored_count++;
} elseif ($device['status'] == '1') {
if (($device['uptime'] < $config['uptime_warning']) && ($device['uptime'] != '0')) {
if (($device['uptime'] < $config['uptime_warning']) && ($device['uptime'] != 0)) {
$deviceState = 'warn';
$deviceLabel = 'label-warning';
$deviceLabelOld = 'availability-map-oldview-box-warn';