Show More
@@ -109,7 +109,7 b' def filelog(web, req, tmpl):' | |||||
109 | return web.filelog(tmpl, web.filectx(req)) |
|
109 | return web.filelog(tmpl, web.filectx(req)) | |
110 |
|
110 | |||
111 | def archive(web, req, tmpl): |
|
111 | def archive(web, req, tmpl): | |
112 |
type_ = req.form |
|
112 | type_ = req.form.get('type', [None])[0] | |
113 | allowed = web.configlist("web", "allow_archive") |
|
113 | allowed = web.configlist("web", "allow_archive") | |
114 | if (type_ in web.archives and (type_ in allowed or |
|
114 | if (type_ in web.archives and (type_ in allowed or | |
115 | web.configbool("web", "allow" + type_, False))): |
|
115 | web.configbool("web", "allow" + type_, False))): |
General Comments 0
You need to be logged in to leave comments.
Login now