From 90d9e77b324c8583d5bec10d95959fbccb4115b2 Mon Sep 17 00:00:00 2001 From: sw <939547590@qq.com> Date: Mon, 2 Mar 2015 17:31:04 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E8=AF=BE=E7=A8=8B=E4=B8=BB?= =?UTF-8?q?=E9=A1=B5=E6=B2=A1=E6=9C=892015=E5=B9=B4=E8=AF=BE=E7=A8=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/welcome/course.html.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/welcome/course.html.erb b/app/views/welcome/course.html.erb index d427a9aea..1d8a56060 100644 --- a/app/views/welcome/course.html.erb +++ b/app/views/welcome/course.html.erb @@ -96,11 +96,11 @@ year_now -= 1 course_term = "秋季学期" elsif month_now < 9 - course_term = "秋季学期" + course_term = "春季学期" end %> <%# (month_now >= 3 && month_now < 9) ? course_term = "春季学期" : course_term = "秋季学期" %> - <% @school_id.nil? ? cur_school_course = [] : cur_school_course = find_miracle_course(10,7,@school_id, year_now, course_term) %> + <% cur_school_course = @school_id.nil? ? [] : find_miracle_course(10,7,@school_id, year_now, course_term) %> <% if cur_school_course.count == 0 %>