Merge pull request #47 from davidtaylorhq/unsolved_icon_closed_archived

Remove empty checkbox for closed/archived topics
This commit is contained in:
Sam 2017-03-05 20:37:06 -05:00 committed by GitHub
commit 6468d92458
1 changed files with 1 additions and 1 deletions

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