mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: Allow queued posts from deleted users to be rejected
This commit is contained in:
@@ -566,8 +566,8 @@ class StaffActionLogger
|
||||
|
||||
topic = reviewable.topic || Topic.with_deleted.find_by(id: reviewable.topic_id)
|
||||
topic_title = topic&.title || I18n.t('staff_action_logs.not_found')
|
||||
username = reviewable.created_by.username || I18n.t('staff_action_logs.unknown')
|
||||
name = reviewable.created_by.name || I18n.t('staff_action_logs.unknown')
|
||||
username = reviewable.created_by&.username || I18n.t('staff_action_logs.unknown')
|
||||
name = reviewable.created_by&.name || I18n.t('staff_action_logs.unknown')
|
||||
|
||||
details = [
|
||||
"created_at: #{reviewable.created_at}",
|
||||
|
||||
Reference in New Issue
Block a user