Skip to content

Commit

Permalink
MDL-51771 question engine: fix typo in SQL
Browse files Browse the repository at this point in the history
Thanks to Pete at learningpool.com for finding thsi bug.
  • Loading branch information
timhunt committed Oct 18, 2015
1 parent 1b7bf43 commit e5acdcb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion question/engine/datalib.php
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ public function load_question_attempt_step($stepid) {
$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,
Expand Down

0 comments on commit e5acdcb

Please sign in to comment.