Merge branch 'MDL-55275_MOODLE_31_STABLE' of https://github.com/tobiasreischmann/moodle into MOODLE_31_STABLE
This commit is contained in:
@@ -4592,7 +4592,7 @@ class assign {
|
||||
|
||||
if ($this->can_view_submission($user->id)) {
|
||||
|
||||
if (has_capability('mod/assign:submit', $this->get_context(), $user)) {
|
||||
if (has_capability('mod/assign:submit', $this->get_context(), $user, false)) {
|
||||
$submissionstatus = $this->get_assign_submission_status_renderable($user, $showlinks);
|
||||
$o .= $this->get_renderer()->render($submissionstatus);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user