summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2020-09-13 12:52:17 +0200
committerEugen Rochko <eugen@zeonfederated.com>2020-10-19 14:46:35 +0200
commit8f79ed0487fb17ad59182b49b3fbe46043cbaedd (patch)
tree415f4ef5e654cbea84a1bd34d77c33232f527fbc
parent4acfc3ce83a0f7492137ef0a3b0c78cce0773e6e (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 b30a823699e..9edd152f57b 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