mirror of
https://github.com/moodle/moodle.git
synced 2025-03-14 12:40:01 +01:00
Merge branch 'MDL-55275' of https://github.com/tobiasreischmann/moodle
This commit is contained in:
commit
23bb1871b3
@ -4872,7 +4872,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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user