Merge pull request #527 from wpferguson/fix_ret_val_return

fix string library missing end
This commit is contained in:
wpferguson
2024-10-16 21:03:56 -04:00
committed by GitHub

View File

@@ -981,7 +981,7 @@ local function treat(var_string)
if string.match(var_string, "CATEGORY%d") or string.match(var_string, "CATEGORY%[") then
log.msg(log.info, "substituting for " .. var_string)
ret_val = substitutes[var_string]
if not ret_val then ret_val = ""
if not ret_val then ret_val = "" end
log.msg(log.info, "ret_val is " .. ret_val)
elseif string.match(var_string, "SEQUENCE%[") then