projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
reverse proxy tests
[akkoma]
/
lib
/
pleroma
/
emails
/
admin_email.ex
diff --git
a/lib/pleroma/emails/admin_email.ex
b/lib/pleroma/emails/admin_email.ex
index df0f72f964d597d22915d1b2033352b0a19d898a..d0e254362ba60c386582fc3c4f5835da3b36712a 100644
(file)
--- a/
lib/pleroma/emails/admin_email.ex
+++ b/
lib/pleroma/emails/admin_email.ex
@@
-29,7
+29,7
@@
defmodule Pleroma.Emails.AdminEmail do
end
statuses_html =
- if length(statuses) > 0 do
+ if
is_list(statuses) &&
length(statuses) > 0 do
statuses_list_html =
statuses
|> Enum.map(fn