Skip to content

Commit

Permalink
fix #1092 : erreur 500 sur la liste des topics par tag
Browse files Browse the repository at this point in the history
  • Loading branch information
artragis committed Jul 7, 2014
1 parent 32ebdd8 commit 60c810f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions zds/forum/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -876,6 +876,7 @@ def find_topic_by_tag(request, tag_pk, tag_slug):
tag = Tag.objects.filter(pk=tag_pk, slug=tag_slug).first()
if tag is None:
return redirect(reverse("zds.forum.views.index"))
u = request.user
if "filter" in request.GET:
filter = request.GET["filter"]
if request.GET["filter"] == "solve":
Expand Down

0 comments on commit 60c810f

Please sign in to comment.