Commit 1023baf6 authored by Robert's avatar Robert

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

parent 9bbd439e
Pipeline #1828 passed with stage
in 7 minutes and 44 seconds
......@@ -49,6 +49,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