From 53cc23ffc2b15045b72980181811914394393b4f Mon Sep 17 00:00:00 2001 From: Dmitriy Alekseev <1865999+dragoangel@users.noreply.github.com> Date: Fri, 8 Nov 2024 12:30:16 +0100 Subject: [PATCH] Fix missing non_en false due to fill_empty_strings function --- src/plugins/lua/elastic.lua | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.39.5