From 8bb3fac17c9470a4d64f8e8766be2f460d0bf6c7 Mon Sep 17 00:00:00 2001 From: tjhunt Date: Wed, 30 Jan 2008 18:18:36 +0000 Subject: [PATCH] MDL-13110 - Manually grading random questions does not work. Fix thanks to Ken Burres. --- question/type/questiontype.php | 3 ++- question/type/random/questiontype.php | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/question/type/questiontype.php b/question/type/questiontype.php index 079a622696..8f5ad1c75e 100644 --- a/question/type/questiontype.php +++ b/question/type/questiontype.php @@ -852,7 +852,8 @@ class default_questiontype { if (isset($options->questioncommentlink) && $context && has_capability('mod/quiz:grade', $context)) { $strcomment = get_string('commentorgrade', 'quiz'); - $commentlink = '