liquid_feedback_frontend
diff app/main/index/_action/set_lang.lua @ 286:c587d8762e62
Registration process updated for Core 2.0, lockable member fields, notification settings
author | bsw |
---|---|
date | Sat Feb 25 11:51:37 2012 +0100 (2012-02-25) |
parents | a3ac899559de |
children | 44f9a09ea51c |
line diff
1.1 --- a/app/main/index/_action/set_lang.lua Fri Feb 17 15:16:02 2012 +0100 1.2 +++ b/app/main/index/_action/set_lang.lua Sat Feb 25 11:51:37 2012 +0100 1.3 @@ -2,4 +2,8 @@ 1.4 if lang == "de" or lang == "en" or lang == "eo" then 1.5 app.session.lang = param.get("lang") 1.6 app.session:save() 1.7 + if app.session.member then 1.8 + app.session.member.lang = app.session.lang 1.9 + app.session.member:save() 1.10 + end 1.11 end 1.12 \ No newline at end of file