|
@@ -117,9 +117,9 @@ class ForumManager(TreeManager):
|
|
|
readable = []
|
|
|
for pk, forum in self.forums_tree.items():
|
|
|
if ((include_special or not forum.special) and
|
|
|
- acl.forums.can_browse(pk) and
|
|
|
- acl.threads.acl[pk]['can_read_threads']):
|
|
|
- readable.append(pk)
|
|
|
+ acl.forums.can_browse(forum.pk) and
|
|
|
+ acl.threads.acl[forum.pk]['can_read_threads']):
|
|
|
+ readable.append(forum.pk)
|
|
|
return readable
|
|
|
|
|
|
|