From 77ff75a78d99c073edc0f002af2d8a89d5b44288 Mon Sep 17 00:00:00 2001 From: Dmitriy Alekseev <1865999+dragoangel@users.noreply.github.com> Date: Mon, 14 Oct 2024 14:09:12 +0200 Subject: [PATCH] Update src/plugins/lua/elastic.lua Co-authored-by: Vsevolod Stakhov --- src/plugins/lua/elastic.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/lua/elastic.lua b/src/plugins/lua/elastic.lua index 334402a7e..d553a65c6 100644 --- a/src/plugins/lua/elastic.lua +++ b/src/plugins/lua/elastic.lua @@ -646,7 +646,7 @@ local function get_general_metadata(task) table.insert(lang_t, l) end end - if table.getn(lang_t) > 0 then + if #lang_t > 0 then r.language = lang_t else r.language = empty -- 2.39.5