소스 검색

fix profile contact undefined bug

ppoffice 11 년 전
부모
커밋
0b0a2aee20
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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>