Skip to content

Commit

Permalink
Merge pull request #6321 from akatsoulas/multiple-topics-500
Browse files Browse the repository at this point in the history
Remove erroneous check
  • Loading branch information
akatsoulas authored Oct 30, 2024
2 parents b136ae6 + 3fed687 commit 5d6c2e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kitsune/products/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ def document_listing(request, topic_slug, product_slug=None, subtopic_slug=None)
...

product = None
if product_slug and has_aaq_config(product_slug):
if product_slug:
product = get_object_or_404(Product, slug=product_slug)
if has_aaq_config(product):
request.session["aaq_context"] = {
Expand Down

0 comments on commit 5d6c2e3

Please sign in to comment.