Merge pull request #1594 from ostcar/issue_1551

Fix check_permission in motion support view.
This commit is contained in:
Norman Jäckel 2015-07-05 22:15:46 +02:00
commit 4b4522f3f8

View File

@ -499,7 +499,7 @@ class SupportView(SingleObjectMixin, QuestionView):
model = Motion model = Motion
support = True support = True
def check_permission(self, request): def check_permission(self, request, *args, **kwargs):
""" """
Return True if the user can support or unsupport the motion. Else: False. Return True if the user can support or unsupport the motion. Else: False.
""" """