liquid_feedback_frontend
diff app/main/member/_action/update.lua @ 1843:b01d9920371b
merge
| author | jbe |
|---|---|
| date | Thu Feb 03 15:57:22 2022 +0100 (2022-02-03) |
| parents | 757a87af4c83 |
| children |
line diff
1.1 --- a/app/main/member/_action/update.lua Thu Feb 03 15:54:23 2022 +0100 1.2 +++ b/app/main/member/_action/update.lua Thu Feb 03 15:57:22 2022 +0100 1.3 @@ -1,7 +1,7 @@ 1.4 local profile = app.session.member.profile 1.5 1.6 for i, field in ipairs(config.member_profile_fields) do 1.7 - if not util.is_profile_field_locked(app.session.member, field.id) then 1.8 + if not util.is_profile_field_locked(app.session.member, field.id) and not field.validate_func then 1.9 local value = param.get(field.id) 1.10 if value == "" then 1.11 value = null