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
1 changed files with 1 additions and 1 deletions

View File

@ -499,7 +499,7 @@ class SupportView(SingleObjectMixin, QuestionView):
model = Motion
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.
"""