diff options
Diffstat (limited to 'app/helpers/moderation_helper.rb')
-rw-r--r-- | app/helpers/moderation_helper.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/helpers/moderation_helper.rb b/app/helpers/moderation_helper.rb index 2c45b4b84..10fa05109 100644 --- a/app/helpers/moderation_helper.rb +++ b/app/helpers/moderation_helper.rb @@ -17,10 +17,10 @@ module ModerationHelper if policy == 'reset' Admin::ActionLog.create(account: @account, action: unsuspend, target: acct) - user_friendly_action_log(@account, :unsuspend, acct) + user_friendly_action_log(@account, :unsuspend, acct, reason) else Admin::ActionLog.create(account: @account, action: policy, target: acct) - user_friendly_action_log(@account, policy.to_sym, acct) + user_friendly_action_log(@account, policy.to_sym, acct, reason) end case policy |