mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Apply fixes from StyleCI (#12124)
This commit is contained in:
@@ -84,7 +84,7 @@ class AlertRules
|
||||
$doalert = false;
|
||||
}
|
||||
|
||||
$current_state = dbFetchCell("SELECT state FROM alerts WHERE rule_id = ? AND device_id = ? ORDER BY id DESC LIMIT 1", [$rule['id'], $device_id]);
|
||||
$current_state = dbFetchCell('SELECT state FROM alerts WHERE rule_id = ? AND device_id = ? ORDER BY id DESC LIMIT 1', [$rule['id'], $device_id]);
|
||||
if ($doalert) {
|
||||
if ($current_state == AlertState::ACKNOWLEDGED) {
|
||||
c_echo('Status: %ySKIP');
|
||||
|
Reference in New Issue
Block a user