Remove empty checkbox for closed/archived topics

This commit is contained in:
David Taylor 2017-03-06 01:34:29 +00:00
parent fcd5a06e69
commit 5b8985f297
1 changed files with 1 additions and 1 deletions

View File

@ -371,7 +371,7 @@ SQL
def can_have_answer def can_have_answer
return true if SiteSetting.allow_solved_on_all_topics 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) return scope.allow_accepted_answers_on_category?(object.category_id)
end end