diff --git a/app/views/welcome/course.html.erb b/app/views/welcome/course.html.erb
index 005f53710..eef2401f8 100644
--- a/app/views/welcome/course.html.erb
+++ b/app/views/welcome/course.html.erb
@@ -60,7 +60,7 @@
新开课程
- <% if(find_miracle_course(10, 7,params[:school_id]).map.count == 0) %>
+ <% if(find_miracle_course(10, 7,params[:school_id]).count == 0) %>
<%= link_to "更多>>", {:controller => 'projects', :action => 'course', :project_type => 1, :school_id => nil} %>