Commit d3c770f3 authored by Marc Duez's avatar Marc Duez

server: auto detect the first existing config id

parent f6b3d95d
......@@ -4,7 +4,7 @@
{{if request.vars["config_id"]:}}
{{config_id = long(request.vars["config_id"])}}
{{else:}}
{{config_id = 1}}
{{config_id = db(db.config).select()[0].id}}
{{pass}}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment