Index: funcs/func_logic.c =================================================================== --- funcs/func_logic.c (revision 168333) +++ funcs/func_logic.c (working copy) @@ -83,7 +83,7 @@ if (iffalse) iffalse = ast_strip_quoted(iffalse, "\"", "\""); - ast_copy_string(buf, ast_check_timing(&timing) ? iftrue : iffalse, len); + ast_copy_string(buf, ast_check_timing(&timing) ? S_OR(iftrue, "") : S_OR(iffalse, ""), len); return 0; }