mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
MDL-37619 Assign: Fix failed unit tests for mod/assign/lib.php
The failure was caused by a regression in MDL-37527.
This commit is contained in:
parent
5a4a346834
commit
c1432fad2c
@ -358,7 +358,7 @@ function assign_print_overview($courses, &$htmlarray) {
|
||||
$rs->close();
|
||||
|
||||
// Get all user submissions, indexed by assignment id.
|
||||
$dbparams = array($USER->id, $USER->id);
|
||||
$dbparams = array_merge(array($USER->id, $USER->id), $assignmentidparams);
|
||||
$mysubmissions = $DB->get_records_sql('SELECT
|
||||
a.id AS assignment,
|
||||
a.nosubmissions AS nosubmissions,
|
||||
|
Loading…
x
Reference in New Issue
Block a user