dev_forum
SylorHuang 5 years ago
parent 133eaf42cb
commit 783e2e1727

@ -110,7 +110,7 @@ module PollsHelper
poll_user_name = user.nickname poll_user_name = user.nickname
end end
course_member = course_members.find_by(user_id:user.id) course_member = course_members.find_by(user_id:user.id)
course_group_id = course_members.present? ? course_member.course_group_id : nil course_group_id = course_member.present? ? course_member.course_group_id : nil
if course_group_id == 0 if course_group_id == 0
course_group_name = "未分班" course_group_name = "未分班"
else else

Loading…
Cancel
Save