Fix nil error in warning e-mail template (#11812)

master
Eugen Rochko 5 years ago committed by GitHub
parent c5d37f18cb
commit 3a3b40e0c3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      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

Loading…
Cancel
Save