mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-12 16:06:25 +02:00
Resolved critical bugs from scrutinizer
This commit is contained in:
+1
-1
@@ -26,7 +26,7 @@ foreach (dbFetchRows("SELECT *, A.id AS id FROM `alerts` AS A, `devices` AS D WH
|
||||
$msg = $alert['message'];
|
||||
$alert_text .= "$date $host $msg";
|
||||
|
||||
dbUpdate(array('alerted' => '1'), 'alerts', '`id` = ?' array($id))
|
||||
dbUpdate(array('alerted' => '1'), 'alerts', '`id` = ?', array($id));
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user