From 52fd861c1bedad63595b57ce228295dc4dd113c5 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Tue, 22 Jan 2019 16:33:37 +0000 Subject: [PATCH] [Minor] Fix Lua 5.1 compatibility Issue: #2713 --- lualib/lua_util.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lualib/lua_util.lua b/lualib/lua_util.lua index b12a258f5..34bafcc4b 100644 --- a/lualib/lua_util.lua +++ b/lualib/lua_util.lua @@ -593,7 +593,8 @@ exports.extract_specific_urls = function(params_or_task, lim, need_emails, filte if params.prefix then cache_key = params.prefix else - cache_key = string.format('sp_urls_%d%s', params.limit, params.need_emails) + cache_key = string.format('sp_urls_%d%s', params.limit, + tostring(params.need_emails)) end -- 2.39.5