about summary refs log tree commit diff
diff options
context:
space:
mode:
authorSTJrInuyasha <MattWCSTRFAN@gmail.com>2017-06-07 00:57:47 -0700
committerEugen Rochko <eugen@zeonfederated.com>2017-06-07 09:57:47 +0200
commit2d9194428529a9e21ec160bf34e052148c742dea (patch)
tree3379a6752a01405c9f57668c97775969a74ac4ab
parent0026ba2751814ac82f02dad32a168560524fe9bf (diff)
Don't show business e-mail if it's blank (#3619)
-rw-r--r--app/views/about/_contact.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/about/_contact.html.haml b/app/views/about/_contact.html.haml
index 39e4e98ec..292a58575 100644
--- a/app/views/about/_contact.html.haml
+++ b/app/views/about/_contact.html.haml
@@ -9,7 +9,7 @@
             %span.display_name.emojify= display_name(contact.contact_account)
             %span.username @#{contact.contact_account.acct}
 
-    - if contact.site_contact_email
+    - unless contact.site_contact_email.blank?
       .contact-email
         = t 'about.business_email'
         %strong= contact.site_contact_email