about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--app/helpers/moderation_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/moderation_helper.rb b/app/helpers/moderation_helper.rb
index 730af2603..fda553c37 100644
--- a/app/helpers/moderation_helper.rb
+++ b/app/helpers/moderation_helper.rb
@@ -22,7 +22,7 @@ module ModerationHelper
     return false if acct.nil?
 
     if policy == 'reset'
-      Admin::ActionLog.create(account: @account, action: unsuspend, target: acct)
+      Admin::ActionLog.create(account: @account, action: 'unsuspend', target: acct)
       user_friendly_action_log(@account, :unsuspend, acct, reason)
     else
       Admin::ActionLog.create(account: @account, action: policy, target: acct)