Skip to content

Commit

Permalink
Improve aaq config check
Browse files Browse the repository at this point in the history
  • Loading branch information
akatsoulas committed Nov 4, 2024
1 parent 8d65c38 commit f9e7f40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kitsune/questions/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ def question_list(request, product_slug=None, topic_slug=None):

multiple = (len(products) > 1) or ("all" in product_slugs)
product_with_aaq = False
if multiple:
if products and not multiple:
product_with_aaq = has_aaq_config(products[0])

topics = []
Expand Down

0 comments on commit f9e7f40

Please sign in to comment.