liquid_feedback_frontend
changeset 1692:c91d97d1f5ba
Store ids not names for multiselect fields
author | bsw |
---|---|
date | Wed Sep 22 18:23:30 2021 +0200 (2021-09-22) |
parents | 0313770d09ad |
children | f6ce58146d40 |
files | app/main/registration/_action/register.lua |
line diff
1.1 --- a/app/main/registration/_action/register.lua Wed Sep 22 18:21:17 2021 +0200 1.2 +++ b/app/main/registration/_action/register.lua Wed Sep 22 18:23:30 2021 +0200 1.3 @@ -149,7 +149,7 @@ 1.4 if option.other then 1.5 table.insert(values, param.get("verification_data_" .. field.name .. "_other")) 1.6 else 1.7 - table.insert(values, option.name) 1.8 + table.insert(values, option.id) 1.9 end 1.10 end 1.11 end