liquid_feedback_frontend
diff app/main/survey/_action/answer.lua @ 1744:f5c41bffb3ff
Fixed syntax error
author | bsw |
---|---|
date | Mon Oct 11 10:48:00 2021 +0200 (2021-10-11) |
parents | 3d61fa0d6474 |
children | 8d7c4d542c3d |
line diff
1.1 --- a/app/main/survey/_action/answer.lua Mon Oct 11 10:47:25 2021 +0200 1.2 +++ b/app/main/survey/_action/answer.lua Mon Oct 11 10:48:00 2021 +0200 1.3 @@ -49,7 +49,7 @@ 1.4 end 1.5 answer.answer = given_answer 1.6 1.7 -if question.answer_type == "checkbox" then 1.8 +elseif question.answer_type == "checkbox" then 1.9 local answers = json.array() 1.10 for i, answer_option in ipairs(question.answer_options) do 1.11 local answer = param.get("answer_" .. answer_option)