1
0
mirror of synced 2026-08-05 17:56:58 +00:00

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 -1
View File
@@ -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