Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Merge branch 'MDL-25872-20' of git://github.com/bostelm/moodle into M…

…OODLE_20_STABLE
  • Loading branch information...
commit 28883e9b4508bec8ceb15e0079dbf56126ff7640 2 parents e79edb1 + 62da28c
Eloy Lafuente (stronk7) stronk7 authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  mod/assignment/lib.php
2  mod/assignment/lib.php
@@ -1189,7 +1189,7 @@ function display_submissions($message='') {
1189 1189 }
1190 1190
1191 1191 /// Get all ppl that are allowed to submit assignments
1192   - list($esql, $params) = get_enrolled_sql($context, 'mod/assignment:view', $currentgroup);
  1192 + list($esql, $params) = get_enrolled_sql($context, 'mod/assignment:submit', $currentgroup);
1193 1193
1194 1194 if ($filter == self::FILTER_ALL) {
1195 1195 $sql = "SELECT u.id FROM {user} u ".

0 comments on commit 28883e9

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