资源全站搜索出现bug

This commit is contained in:
lizanle 2015-10-14 11:10:19 +08:00
parent bd8f2f20a5
commit 918c6f46ba
1 changed files with 1 additions and 1 deletions

View File

@ -1,4 +1,4 @@
<% if course && tag_list.empty? == false%>
<% if course && tag_list && tag_list.empty? == false%>
<span class="files_tag_icon" >
<a title=""
onclick="search_tag_attachment('<%= search_tag_attachment_course_files_path(course)%>','','<%= @q%>','<%= course.id%>');"