mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Fix invalid check for device->isUnderMaintenance() in worldmap (#10778)
Fixes #10751
This commit is contained in:
@@ -80,7 +80,7 @@ class WorldMapController extends WidgetController
|
||||
$device->zOffset = 10000;
|
||||
|
||||
if ($device->isUnderMaintenance()) {
|
||||
if ($status == 0) {
|
||||
if (in_array(0, $status)) {
|
||||
return false;
|
||||
}
|
||||
$device->markerIcon = 'blueMarker';
|
||||
|
||||
Reference in New Issue
Block a user