empty Outages tables (#14167)

This commit is contained in:
Peca Nesovanovic
2022-08-02 23:15:42 +02:00
committed by GitHub
parent 1c2e446326
commit 403202efa4

View File

@@ -38,7 +38,7 @@ var outages_grid = $("#outages").bootgrid({
post: function ()
{
return {
device: "' . (int) ($vars['device']) . '",
device: ' . (empty($vars['device']) ? 'null' : (int) $vars['device']) . ',
to: "' . addcslashes($vars['to'], '"') . '",
from: "' . addcslashes($vars['from'], '"') . '",
};