]> git.mjollnir.org Git - moodle.git/commitdiff
Typo.
authortjhunt <tjhunt>
Fri, 6 Oct 2006 17:20:37 +0000 (17:20 +0000)
committertjhunt <tjhunt>
Fri, 6 Oct 2006 17:20:37 +0000 (17:20 +0000)
mod/quiz/locallib.php

index cd4451b90b981c276c24b3a2779edaa5fae43c3f..ea1e09660306a173faf7770f5471e7618096c5f9 100644 (file)
@@ -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;