Fix eventlog filtering (#14136)

Was sending device_id = 0 for all devices when it should have been device_id = null
This commit is contained in:
Tony Murray
2022-07-25 09:01:22 -05:00
committed by GitHub
parent 7071db98a5
commit a06eaa4767

View File

@@ -35,7 +35,7 @@ var eventlog_grid = $("#eventlog").bootgrid({
post: function ()
{
return {
device: "' . (int) ($vars['device']) . '",
device: ' . (empty($vars['device']) ? 'null' : (int) $vars['device']) . ',
eventtype: "' . addcslashes($vars['eventtype'], '"') . '",
};
},