mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Fixed unsanitized variable in Alert-Stats
This commit is contained in:
@ -11,6 +11,7 @@
|
|||||||
*/
|
*/
|
||||||
$pagetitle[] = "Alert Stats";
|
$pagetitle[] = "Alert Stats";
|
||||||
|
|
||||||
|
$sql = "";
|
||||||
if (isset($device['device_id']) && $device['device_id'] > 0) {
|
if (isset($device['device_id']) && $device['device_id'] > 0) {
|
||||||
$sql = " AND alert_log.device_id=?";
|
$sql = " AND alert_log.device_id=?";
|
||||||
$param = array(
|
$param = array(
|
||||||
|
Reference in New Issue
Block a user