liquid_feedback_frontend

view app/main/index/_action/set_lang.lua @ 136:166fd10c7e81

fixes bug #234

test if the constructed selector first before adding a paginator
author Daniel Poelzleithner <poelzi@poelzi.org>
date Tue Oct 05 21:51:59 2010 +0200 (2010-10-05)
parents a3ac899559de
children c587d8762e62
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 end

Impressum / About Us