Skip to content
Browse files

Merge branch 'MDL-37527-23' of github.com:damyon/moodle into MOODLE_2…

…3_STABLE
  • Loading branch information...
2 parents 0d67439 + c5c330b commit 176bb7570bbf5235a81a04303e790775686c3a29 @danpoltawski danpoltawski committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/assign/lib.php
View
2 mod/assign/lib.php
@@ -326,7 +326,7 @@ function assign_print_overview($courses, &$htmlarray) {
// get all user submissions, indexed by assignment id
$mysubmissions = $DB->get_records_sql("SELECT a.id AS assignment, a.nosubmissions AS nosubmissions, g.timemodified AS timemarked, g.grader AS grader, g.grade AS grade, s.status AS status
FROM {assign} a LEFT JOIN {assign_grades} g ON g.assignment = a.id AND g.userid = ? LEFT JOIN {assign_submission} s ON s.assignment = a.id AND s.userid = ?
- AND a.id $sqlassignmentids", array_merge(array($USER->id, $USER->id), $assignmentidparams));
+ WHERE a.id $sqlassignmentids", array($USER->id, $USER->id));
foreach ($assignments as $assignment) {
// Do not show assignments that are not open

0 comments on commit 176bb75

Please sign in to comment.
Something went wrong with that request. Please try again.