From 6c214c462c44c93d75a490c02f8c188fc1183de1 Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Wed, 6 Nov 2024 13:21:02 -0500 Subject: [PATCH] Don't show deleted monitors --- web/ajax/modals/group.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/ajax/modals/group.php b/web/ajax/modals/group.php index 061607faa6..59d67a2761 100644 --- a/web/ajax/modals/group.php +++ b/web/ajax/modals/group.php @@ -56,7 +56,7 @@ function parentGrpSelect($newGroup) { function monitorList($newGroup) { $result = ''; - $monitors = dbFetchAll('SELECT Id,Name FROM Monitors ORDER BY Sequence ASC'); + $monitors = dbFetchAll('SELECT Id,Name FROM Monitors WHERE Deleted=false ORDER BY Sequence ASC'); $monitorIds = $newGroup->MonitorIds(); foreach ( $monitors as $monitor ) { if ( visibleMonitor($monitor['Id']) ) {