Resolved critical bugs from scrutinizer

This commit is contained in:
laf
2014-02-22 15:47:57 +00:00
parent c473b545e7
commit e535ec2e47
7 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -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));
}