Merge branch 'mdl41996-master' of https://github.com/tlock/moodle

This commit is contained in:
Eloy Lafuente (stronk7) 2013-10-01 20:01:33 +02:00
commit 098723aabb

View 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;
}