From f7f10a5572271355fdf0f05ffc539ca6d6e888f6 Mon Sep 17 00:00:00 2001 From: Timo Stollenwerk Date: Fri, 28 Aug 2009 11:39:02 +0000 Subject: [PATCH] fix that conversation.enabled wasn't called. evilbungle fix. svn path=/plone.app.discussion/trunk/; revision=29432 --- plone/app/discussion/browser/comments.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plone/app/discussion/browser/comments.py b/plone/app/discussion/browser/comments.py index c6f8145..d9628f3 100644 --- a/plone/app/discussion/browser/comments.py +++ b/plone/app/discussion/browser/comments.py @@ -307,7 +307,7 @@ class CommentsViewlet(ViewletBase, layout.FormWrapper): def is_discussion_allowed(self): context = aq_inner(self.context) conversation = IConversation(context) - return conversation.enabled + return conversation.enabled() def get_replies(self, workflow_actions=False): context = aq_inner(self.context)