Skip to content
Browse files

MDL-15224 "Overview results in quiz module export to excel and txt fa…

…il" Fixed.
  • Loading branch information...
1 parent 44e9435 commit 1be3ce4510f40f4451d36ca2d8b70611f2d15301 jamiesensei committed Jun 13, 2008
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/quiz/report/overview/report.php
View
2 mod/quiz/report/overview/report.php
@@ -355,7 +355,7 @@ function display($quiz, $cm, $course) {
// and there is a limit to how many joins you can have in one query. In MySQL it
// is 61. This means that when having more than 29 questions the query will fail.
// So we join just the tables needed to sort the attempts.
- if($sort = $table->get_sql_sort()) {
+ if(!$download && $sort = $table->get_sql_sort()) {
if (!$download && $detailedmarks) {
$from .= ' ';
$sortparts = explode(',', $sort);

0 comments on commit 1be3ce4

Please sign in to comment.
Something went wrong with that request. Please try again.