liquid_feedback_frontend

view app/main/index/_action/set_lang.lua @ 392:05b357bee352

Fix wrong order in registration action
author bsw
date Mon Mar 05 20:35:30 2012 +0100 (2012-03-05)
parents 44f9a09ea51c
children a06634d17718
line source
1 local lang = param.get("lang")
2 if lang == "de" or lang == "en" or lang == "eo" then
3 app.session.lang = param.get("lang")
4 app.session:save()
5 if app.session.member_id then
6 app.session.member.lang = app.session.lang
7 app.session.member:save()
8 end
9 end

Impressum / About Us