Skip to content

Commit

Permalink
Fix missing device_id from device alert logs (#14460)
Browse files Browse the repository at this point in the history
  • Loading branch information
ottorei committed Oct 17, 2022
1 parent 8018dc7 commit abf00ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/html/common/alert-log.inc.php
Expand Up @@ -147,7 +147,7 @@
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']) . '\'
};
Expand Down

0 comments on commit abf00ea

Please sign in to comment.