diff options
Diffstat (limited to 'src/plugins/lua/elastic.lua')
-rw-r--r-- | src/plugins/lua/elastic.lua | 2 |
1 files changed, 1 insertions, 1 deletions
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 |