From fb33a080dc415db74d3e4470972d1e5ef3f0c381 Mon Sep 17 00:00:00 2001 From: Tim Hunt Date: Sun, 18 Oct 2015 16:03:29 +0100 Subject: [PATCH] MDL-51771 question engine: fix typo in SQL Thanks to Pete at learningpool.com for finding thsi bug. --- question/engine/datalib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/question/engine/datalib.php b/question/engine/datalib.php index 1fbe2aac3d5..bf8f2c0bddf 100644 --- a/question/engine/datalib.php +++ b/question/engine/datalib.php @@ -264,7 +264,7 @@ class question_engine_data_mapper { $records = $this->db->get_recordset_sql(" SELECT quba.contextid, - COALLESCE(q.qtype, 'missingtype') AS qtype, + COALESCE(q.qtype, 'missingtype') AS qtype, qas.id AS attemptstepid, qas.questionattemptid, qas.sequencenumber,