多选题错判

This commit is contained in:
cxt 2015-12-17 19:05:22 +08:00
parent a2ebaa0729
commit c7f321475a
1 changed files with 3 additions and 2 deletions

View File

@ -43,8 +43,9 @@ module ExerciseHelper
ecs.each do |ec|
arr << ec.exercise_choice.choice_position
end
arr.sort
arr = arr.join("")
#arr = arr.sort
str = arr.sort.join("")
return str
end
# 判断用户是否已经提交了问卷