mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: dont error when bookmark topic is nil (#10555)
This commit is contained in:
committed by
GitHub
parent
b31da92ede
commit
94152e4640
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user