Skip to content

Commit 2af2530

Browse files
authored
Merge pull request #527 from wpferguson/fix_ret_val_return
fix string library missing end
2 parents 31cdd3f + 99eb595 commit 2af2530

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/dtutils/string.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -981,7 +981,7 @@ local function treat(var_string)
981981
if string.match(var_string, "CATEGORY%d") or string.match(var_string, "CATEGORY%[") then
982982
log.msg(log.info, "substituting for " .. var_string)
983983
ret_val = substitutes[var_string]
984-
if not ret_val then ret_val = ""
984+
if not ret_val then ret_val = "" end
985985
log.msg(log.info, "ret_val is " .. ret_val)
986986

987987
elseif string.match(var_string, "SEQUENCE%[") then

0 commit comments

Comments
 (0)