Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge branch 'MDL-26338' of git://github.com/timhunt/moodle

  • Loading branch information...
commit 89bf60cdbcf70f49dedc327459fdf77b1000383e 2 parents 1ae279b + dc3826e
@stronk7 stronk7 authored
View
2  mod/quiz/report/overview/report.php
@@ -202,7 +202,7 @@ function display($quiz, $cm, $course) {
if (!$nostudents || ($attemptsmode == QUIZ_REPORT_ATTEMPTS_ALL)) {
// Construct the SQL
- $fields = $DB->sql_concat('u.id', '\'#\'', 'COALESCE(qa.attempt, \'0\')').' AS uniqueid, ';
+ $fields = $DB->sql_concat('u.id', '\'#\'', 'COALESCE(qa.attempt, 0)').' AS uniqueid, ';
if ($qmsubselect) {
$fields .=
"(CASE " .
View
2  mod/quiz/report/responses/report.php
@@ -185,7 +185,7 @@ function display($quiz, $cm, $course) {
$hasfeedback = quiz_has_feedback($quiz);
// Construct the SQL
- $fields = $DB->sql_concat('u.id', '\'#\'', 'COALESCE(qa.attempt, \'0\')').' AS concattedid, ';
+ $fields = $DB->sql_concat('u.id', '\'#\'', 'COALESCE(qa.attempt, 0)').' AS concattedid, ';
if ($qmsubselect) {
$fields .=
"(CASE " .
Please sign in to comment.
Something went wrong with that request. Please try again.