liquid_feedback_frontend

view app/main/index/_action/set_lang.lua @ 406:b297b85dc569

Added missing variable
author bsw
date Thu Mar 08 16:14:49 2012 +0100 (2012-03-08)
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