diff options
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/lua/elastic.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/lua/elastic.lua b/src/plugins/lua/elastic.lua index d76e0d723..f3eb3cc4f 100644 --- a/src/plugins/lua/elastic.lua +++ b/src/plugins/lua/elastic.lua @@ -352,6 +352,8 @@ local function fill_empty_strings(tbl, empty_value) if next(nested_filtered) ~= nil then filled_tbl[key] = nested_filtered end + elseif type(value) == 'boolean' then + filled_tbl[key] = value elseif value and type(value) == 'string' and is_empty(value) then filled_tbl[key] = empty_value elseif value then |