Browse Source

Fixed private threads participants check on new reply.

Ralfp 12 years ago
parent
commit
7d4ec5f6bd
1 changed files with 1 additions and 1 deletions
  1. 1 1
      misago/apps/privatethreads/posting.py

+ 1 - 1
misago/apps/privatethreads/posting.py

@@ -60,7 +60,7 @@ class NewReplyView(NewReplyBaseView, TypeMixin):
 
     def set_context(self):
         super(NewReplyView, self).set_context()
-        if not (self.request.acl.private_threads.is_mod() or self.thread.participants.count() < 2):
+        if not (self.request.acl.private_threads.is_mod() or self.thread.participants.count() > 1):
             raise ACLError403(_("This thread needs to have more than one participant to allow new replies."))
 
     def after_form(self, form):