mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 17:06:53 +02:00
NOBUG: Fixing trivial variable name mismatch
This commit is contained in:
parent
dfbfc510ec
commit
37fb7c0e1d
1 changed files with 1 additions and 1 deletions
|
@ -3305,7 +3305,7 @@ function assignment_print_overview($courses, &$htmlarray) {
|
|||
|
||||
// count how many people can submit
|
||||
$submissions = 0; // init
|
||||
if ($users = get_enrolled_users($context, 'mod/assignment:submit', 0, 'u.id')) {
|
||||
if ($students = get_enrolled_users($context, 'mod/assignment:submit', 0, 'u.id')) {
|
||||
foreach ($students as $student) {
|
||||
if (isset($unmarkedsubmissions[$assignment->id][$student->id])) {
|
||||
$submissions++;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue