Skip to content

Commit

Permalink
Remove erroneous check
Browse files Browse the repository at this point in the history
  • Loading branch information
akatsoulas committed Oct 30, 2024
1 parent b136ae6 commit 3fed687
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 3fed687

Please sign in to comment.