Merge branch 'mdl41996-master' of https://github.com/tlock/moodle
authorEloy Lafuente (stronk7) <stronk7@moodle.org>
Tue, 1 Oct 2013 18:01:33 +0000 (20:01 +0200)
committerEloy Lafuente (stronk7) <stronk7@moodle.org>
Tue, 1 Oct 2013 18:01:33 +0000 (20:01 +0200)
mod/quiz/report/attemptsreport_table.php

index 52c34e3..6c19c50 100644 (file)
@@ -138,7 +138,7 @@ abstract class quiz_attempts_report_table extends table_sql {
      */
     public function col_fullname($attempt) {
         $html = parent::col_fullname($attempt);
-        if ($this->is_downloading()) {
+        if ($this->is_downloading() || empty($attempt->attempt)) {
             return $html;
         }