]> cat aescling's git repositories - mastodon.git/commitdiff
Fix reported statuses not being included in warning e-mail (#14778)
authorEugen Rochko <eugen@zeonfederated.com>
Sun, 13 Sep 2020 10:52:17 +0000 (12:52 +0200)
committerGitHub <noreply@github.com>
Sun, 13 Sep 2020 10:52:17 +0000 (12:52 +0200)
app/models/admin/account_action.rb

index b30a823699e3df2573e9b4e2f4993dfaa588c574..9edd152f57b2790d003c682096501be75ce01885 100644 (file)
@@ -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