Browse Source

fix profile contact undefined bug

ppoffice 10 years ago
parent
commit
0b0a2aee20
1 changed files with 1 additions and 1 deletions
  1. 1 1
      layout/_partial/profile.ejs

+ 1 - 1
layout/_partial/profile.ejs

@@ -17,7 +17,7 @@
         <span><%= (site.tags.length > 1?__('profile.tags'):__('profile.tag')) %></span>
       </div>
     </div>
-    <% if(theme.contacts && theme.contacts.length > 0) { %>
+    <% if(theme.contacts) { %>
     <div class="contact-info profile-block">
       <table class="contact-list">
         <tr>