Browse Source

Fix build.

Rafał Pitoń 10 years ago
parent
commit
1b02f5674f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      misago/threads/permissions.py

+ 1 - 1
misago/threads/permissions.py

@@ -298,7 +298,7 @@ def add_acl_to_thread(user, thread):
     })
 
     if can_change_owned_thread(user, thread):
-        if not forum_acl['can_close_threads']:
+        if not forum_acl.get('can_close_threads'):
             thread_is_protected = thread.is_closed or thread.forum.is_closed
         else:
             thread_is_protected = False