From 8ff134db82617263cf16b5bf08ecce9ca4c58349 Mon Sep 17 00:00:00 2001 From: tjhunt Date: Fri, 6 Oct 2006 17:20:37 +0000 Subject: [PATCH] Typo. --- mod/quiz/locallib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod/quiz/locallib.php b/mod/quiz/locallib.php index cd4451b90b..ea1e096603 100644 --- a/mod/quiz/locallib.php +++ b/mod/quiz/locallib.php @@ -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; -- 2.39.5