From: tjhunt Date: Fri, 6 Oct 2006 17:20:37 +0000 (+0000) Subject: Typo. X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=8ff134db82617263cf16b5bf08ecce9ca4c58349;p=moodle.git Typo. --- 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;