diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2019-09-12 01:51:01 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-12 01:51:01 +0200 |
commit | 3a3b40e0c36902b66526303af8d5fdecb8bab5c2 (patch) | |
tree | cc176c702c671c63756b8c0ea90887f862f257f2 /app/views/user_mailer | |
parent | c5d37f18cb3f4d6212fb8f3e1c4e1e027f677ec5 (diff) |
Fix nil error in warning e-mail template (#11812)
Diffstat (limited to 'app/views/user_mailer')
-rw-r--r-- | app/views/user_mailer/warning.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/user_mailer/warning.html.haml b/app/views/user_mailer/warning.html.haml index 89dc2a75d..5a2911ecb 100644 --- a/app/views/user_mailer/warning.html.haml +++ b/app/views/user_mailer/warning.html.haml @@ -58,7 +58,7 @@ %table.content-section{ cellspacing: 0, cellpadding: 0 } %tbody %tr - %td.content-cell{ class: @statuses.empty? ? '' : 'content-start' } + %td.content-cell{ class: @statuses.nil? || @statuses.empty? ? '' : 'content-start' } %table.column{ cellspacing: 0, cellpadding: 0 } %tbody %tr |