mirror of
https://github.com/moodle/moodle.git
synced 2025-04-20 07:56:06 +02:00
Typo.
This commit is contained in:
parent
b20ea66988
commit
8ff134db82
@ -652,7 +652,7 @@ function quiz_get_reviewoptions($quiz, $attempt, $context=null) {
|
||||
// Provide the links to the question review and comment script
|
||||
$options->questionreviewlink = '/mod/quiz/reviewquestion.php';
|
||||
|
||||
if ($context && has_capability('mod/quiz:viewreports'. $context) and !$attempt->preview) {
|
||||
if ($context && has_capability('mod/quiz:viewreports', $context) and !$attempt->preview) {
|
||||
// The teacher should be shown everything except during preview when the teachers
|
||||
// wants to see just what the students see
|
||||
$options->responses = true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user