mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: Don't raise an error when trying to log nothing
This commit is contained in:
@@ -144,6 +144,8 @@ class StaffActionLogger
|
||||
end
|
||||
|
||||
def log_show_emails(users)
|
||||
return if users.blank?
|
||||
|
||||
values = []
|
||||
|
||||
users.each do |user|
|
||||
|
||||
Reference in New Issue
Block a user