FIX: Include previously solved topics in auto-bump

Null values can happen when a post is removed as the solution. We already filter for NOT NULL in the topic_query and search filters. This commit adds the same logic to the auto-bump filter.
This commit is contained in:
David Taylor 2019-08-06 11:19:33 +01:00
parent 3763ca4aaa
commit 486f343b09
1 changed files with 1 additions and 0 deletions

View File

@ -545,6 +545,7 @@ SQL
SELECT 1 FROM topic_custom_fields
WHERE topic_id = topics.id
AND name = 'accepted_answer_post_id'
AND value IS NOT NULL
)
SQL
})