Fix check_permission in motion support view.

Fixes 1551
This commit is contained in:
Oskar Hahn 2015-07-05 20:04:19 +02:00
parent ea0b8e584f
commit 9b5d8a8bd4

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.
""" """