Permalink
Browse files

Fixed an SQL query compatibility issue in quiz module

Merged form MOODLE_15_STABLE
  • Loading branch information...
patrickslee
patrickslee committed Dec 6, 2005
1 parent a935cf4 commit 7352cd1caa90606e06d1849efcb0e556090d84c9
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/quiz/questiontypes/calculated/questiontype.php
@@ -57,7 +57,7 @@ function save_question_options($question) {
global $CFG;
if (!$oldanswers = get_records_sql(
"SELECT a.*, c.tolerance, c.tolerancetype,
c.correctanswerlength, c.id calcid
c.correctanswerlength, c.id AS calcid
FROM {$CFG->prefix}quiz_answers a,
{$CFG->prefix}quiz_calculated c
WHERE c.question = $question->id AND a.id = c.answer")) {

0 comments on commit 7352cd1

Please sign in to comment.