fix another report bug

This commit is contained in:
Laura Klünder 2024-12-22 00:46:19 +01:00
parent e8a9285da4
commit a53f26689c

View file

@ -650,7 +650,7 @@ def report_create(request, coordinates=None, location=None, origin=None, destina
_('We do not accept reports for this location.'),
group.report_help_text,
))
return render(request, 'site/report_question.html', {})
return render(request, 'site/report_question.html', {})
if report.location is None:
raise Http404
if not isinstance(report.location, SpecificLocation):