forked from Ponysearch/Ponysearch
[fix] request args
This commit is contained in:
parent
bd92b43449
commit
22c4195c89
1 changed files with 1 additions and 1 deletions
|
@ -309,7 +309,7 @@ def render(template_name, override_theme=None, **kwargs):
|
|||
def pre_request():
|
||||
# merge GET, POST vars
|
||||
request.form = dict(request.form.items())
|
||||
for k, v in request.args:
|
||||
for k, v in request.args.items():
|
||||
if k not in request.form:
|
||||
request.form[k] = v
|
||||
|
||||
|
|
Loading…
Reference in a new issue