Minor fix that definitely wasn't a major security problem

This commit is contained in:
Mike
2009-07-20 17:02:03 -07:00
parent ecbf26ecea
commit b02ae5a8e1

View File

@@ -385,7 +385,7 @@ class CachedTemplate(Templated):
# these values are needed to render any link on the site, and
# a menu is just a set of links, so we best cache against
# them.
keys = [c.user_is_loggedin, c.use_is_admin,
keys = [c.user_is_loggedin, c.user_is_admin,
c.render_style, c.cname, c.lang, c.site.path,
template_hash]
keys = [make_cachable(x, *a) for x in keys]