about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2020-09-13 12:52:17 +0200
committerGitHub <noreply@github.com>2020-09-13 12:52:17 +0200
commit42c4322ce72f33a12bffdc42c7ffe27a08dcba44 (patch)
tree2890c903a7e744689d67a7a2ed6c2bbfa9e1d60a
parentfa0c71f0d92ed5587859710dde3b076ec64b1498 (diff)
Fix reported statuses not being included in warning e-mail (#14778)
-rw-r--r--app/models/admin/account_action.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/admin/account_action.rb b/app/models/admin/account_action.rb
index b30a82369..9edd152f5 100644
--- a/app/models/admin/account_action.rb
+++ b/app/models/admin/account_action.rb
@@ -142,7 +142,7 @@ class Admin::AccountAction
   end
 
   def status_ids
-    @report.status_ids if @report && include_statuses
+    report.status_ids if report && include_statuses
   end
 
   def reports