Set 0 as integer in loading of graylog. (#14621)

#14476 probably made this require integer instead of empty string as default.
This commit is contained in:
Kim Håkonsen
2022-11-12 22:03:24 +01:00
committed by GitHub
parent 2f4744c869
commit f37def7986

View File

@@ -135,7 +135,7 @@ $tmp_output .= '
return {
stream: "' . (isset($_POST['stream']) ? $_POST['stream'] : '') . '",
device: "' . (isset($filter_device) ? $filter_device : '') . '",
range: "' . (isset($_POST['range']) ? $_POST['range'] : '') . '",
range: "' . (isset($_POST['range']) ? $_POST['range'] : 0) . '",
loglevel: "' . (isset($_POST['loglevel']) ? $_POST['loglevel'] : '') . '",
};
},