mirror of
https://github.com/discourse/discourse.git
synced 2026-08-05 18:57:20 -05:00
FIX: ensures we don't attempt to concat an empty list (#10600)
This commit is contained in:
@@ -120,7 +120,7 @@ class PostActionNotifier
|
||||
end
|
||||
|
||||
custom_post_revision_notifier_recipients.each do |block|
|
||||
user_ids.concat(block.call(post_revision))
|
||||
user_ids.concat(Array(block.call(post_revision)))
|
||||
end
|
||||
|
||||
if user_ids.present?
|
||||
|
||||
Reference in New Issue
Block a user