FIX: dont error when bookmark topic is nil (#10555)

This commit is contained in:
Krzysztof Kotlarek
2020-08-31 09:15:36 +10:00
committed by GitHub
parent b31da92ede
commit 94152e4640
2 changed files with 8 additions and 0 deletions

View File

@ -7,6 +7,7 @@ class BookmarkReminderNotificationHandler
if bookmark.post.blank? || bookmark.post.deleted_at.present?
return clear_reminder(bookmark)
end
return unless bookmark.topic
create_notification(bookmark)