webui: Do not show disabled devices in alerts list as they stale #6213 (#6263)

This commit is contained in:
Neil Lathwood
2017-03-24 22:06:09 +00:00
committed by Tony Murray
parent 3da412df2f
commit 04beee6e22

View File

@ -2,7 +2,7 @@
require_once $config['install_dir'].'/includes/device-groups.inc.php';
$where = 1;
$where = ' `devices`.`disabled` = 0';
$alert_states = array(
// divined from librenms/alerts.php