diff --git a/plugin.rb b/plugin.rb index 53abda2..b8c4915 100644 --- a/plugin.rb +++ b/plugin.rb @@ -371,7 +371,7 @@ SQL def can_have_answer return true if SiteSetting.allow_solved_on_all_topics - + return false if object.closed || object.archived return scope.allow_accepted_answers_on_category?(object.category_id) end