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:
Damyon Wiese 2013-01-22 13:34:01 +08:00
parent 5a4a346834
commit c1432fad2c

View File

@ -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,