Permalink
Browse files

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

…OODLE_20_STABLE
  • Loading branch information...
2 parents e79edb1 + 62da28c commit 28883e9b4508bec8ceb15e0079dbf56126ff7640 @stronk7 stronk7 committed Aug 28, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/assignment/lib.php
View
@@ -1189,7 +1189,7 @@ function display_submissions($message='') {
}
/// Get all ppl that are allowed to submit assignments
- list($esql, $params) = get_enrolled_sql($context, 'mod/assignment:view', $currentgroup);
+ list($esql, $params) = get_enrolled_sql($context, 'mod/assignment:submit', $currentgroup);
if ($filter == self::FILTER_ALL) {
$sql = "SELECT u.id FROM {user} u ".

0 comments on commit 28883e9

Please sign in to comment.