Closed xuangui2018 closed 3 years ago
Its not missing, just not there and 'course_participant_count' is then called as a fallback.
Ok, I can only replicate if the quiz is not available to students for any reason, like a restriction. What is the state of yours please?
Sorry Gareth, I have found out the problem. It was due to one the of student role's archtype was not set to 'Student' - was blank.
There is a missing function quiz_num_participants in classes/activity.php which causes the Quiz number of participants to be displayed as 0 always on course list view page.
Could you please update branch MOODLE_39 and MOODLE_310 after fixing up the issue?
Please see below the screen shot: