mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Fix missing device_id from device alert logs (#14460)
This commit is contained in:
@@ -147,7 +147,7 @@ $common_output[] = '<div class="form-group"> \
|
||||
post: function () {
|
||||
return {
|
||||
id: "alertlog",
|
||||
device_id: \'' . htmlspecialchars($_POST['device_id']) . '\',
|
||||
device_id: \'' . htmlspecialchars($_POST['device_id'] ?? $device_id) . '\',
|
||||
state: \'' . htmlspecialchars($_POST['state']) . '\',
|
||||
min_severity: \'' . htmlspecialchars($_POST['min_severity']) . '\'
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user