Commit c189bf08 authored by Robert's avatar Robert

Do not raise 404 when replying to authors of internal contributions, refs #659

parent ee6d0a03
Pipeline #1827 passed with stage
in 8 minutes and 35 seconds
......@@ -50,6 +50,6 @@ class ReplyToAuthor(CreateGestaltConversation):
self.association = get_object_or_404(
Association, pk=self.kwargs.get('association_pk'))
self.contribution = get_object_or_404(
Contribution, pk=self.kwargs.get('contribution_pk'))
Contribution.objects_with_internal, pk=self.kwargs.get('contribution_pk'))
self.entity = self.contribution.author
return self.contribution
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment