Browse files

quiz overview report: MDL-18122 stray AS kills Oracle

Thanks to Adolfo Muñoz Aguilar for finding and fixing this.
  • Loading branch information...
1 parent 0bc4b09 commit 7731eb7005880c1e5f0c105494c6a6f4355eae86 tjhunt committed Feb 4, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/quiz/report/overview/report.php
View
2 mod/quiz/report/overview/report.php
@@ -407,7 +407,7 @@ function display($quiz, $cm, $course) {
if ($hasfeedback) {
$factor = $quiz->grade/$quiz->sumgrades;
$select .= ', qf.feedbacktext ';
- $from .= " LEFT JOIN {$CFG->prefix}quiz_feedback AS qf ON " .
+ $from .= " LEFT JOIN {$CFG->prefix}quiz_feedback qf ON " .
"qf.quizid = $quiz->id AND qf.mingrade <= qa.sumgrades * $factor AND qa.sumgrades * $factor < qf.maxgrade";
}

0 comments on commit 7731eb7

Please sign in to comment.