From ac250ad54ace5119be34a449fad71143be2e71f6 Mon Sep 17 00:00:00 2001 From: Tim Hunt Date: Sat, 1 May 2010 08:08:50 +0000 Subject: [PATCH] quiz: NOBUG fix silly typo. --- mod/quiz/lib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod/quiz/lib.php b/mod/quiz/lib.php index d6ec411fdb2af..3f43782d10eff 100644 --- a/mod/quiz/lib.php +++ b/mod/quiz/lib.php @@ -277,7 +277,7 @@ function quiz_update_effective_access($quiz, $userid) { list($extra, $params) = $DB->get_in_or_equal(array_values($groupings[$groupingid])); $sql = "SELECT * FROM {quiz_overrides} WHERE groupid $extra AND quiz = ?"; - $params[] = $qiuz->id; + $params[] = $quiz->id; $records = $DB->get_records_sql($sql, $params); // Combine the overrides