From ae1f8bad877f9ba954f7e71e0609a19bb7e2969a Mon Sep 17 00:00:00 2001 From: KeyserSosa Date: Tue, 7 Jul 2009 11:00:51 -0700 Subject: [PATCH] fix meta reddit menu bug by making the unique identifier for reddits be the path rather than the name --- r2/r2/lib/wrapped.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/r2/r2/lib/wrapped.py b/r2/r2/lib/wrapped.py index 570beb31f..f0d0685db 100644 --- a/r2/r2/lib/wrapped.py +++ b/r2/r2/lib/wrapped.py @@ -386,7 +386,7 @@ class CachedTemplate(Templated): # a menu is just a set of links, so we best cache against # them. keys = [c.user_is_loggedin, c.use_is_admin, - c.render_style, c.cname, c.lang, c.site.name, + c.render_style, c.cname, c.lang, c.site.path, template_hash] keys = [make_cachable(x, *a) for x in keys]