小班导出列表500BUG

This commit is contained in:
yuanke 2016-10-21 19:25:09 +08:00
parent 992f8f5f75
commit 5811f3944e
1 changed files with 1 additions and 1 deletions

View File

@ -473,7 +473,7 @@ class CoursesController < ApplicationController
if params[:group_id]
group = CourseGroup.find params[:group_id]
unless group.nil?
@all_members = student_homework_score(@group.id,0,0,"desc")
@all_members = student_homework_score(group.id,0,0,"desc")
end
else
@all_members = student_homework_score(0,0,0,"desc")