Skip to content

Commit

Permalink
Fix: availability-map showed ping devices as warning. (#7592)
Browse files Browse the repository at this point in the history
  • Loading branch information
Zmegolaz authored and murrant committed Oct 31, 2017
1 parent 0cf8c26 commit 03820d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion html/includes/common/availability-map.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@
$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';
Expand Down

0 comments on commit 03820d3

Please sign in to comment.