Skip to content

Commit

Permalink
Fix reported statuses not being included in warning e-mail (mastodon#…
Browse files Browse the repository at this point in the history
  • Loading branch information
Gargron authored and thenameisnigel-old committed Sep 18, 2020
1 parent f031e7a commit e995ab2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/admin/account_action.rb
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ def warnable?
end

def status_ids
@report.status_ids if @report && include_statuses
report.status_ids if report && include_statuses
end

def reports
Expand Down

0 comments on commit e995ab2

Please sign in to comment.