Permalink
Browse files

MDL-41996: Don't show the Review Attempt link if no attempts exist.

  • Loading branch information...
tlock authored and stronk7 committed Sep 26, 2013
1 parent 4ae75c1 commit a7c5e2d24dbea6f8490e8b39901ececb4ccc84f1
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/quiz/report/attemptsreport_table.php
@@ -137,7 +137,7 @@ public function col_picture($attempt) {
*/
public function col_fullname($attempt) {
$html = parent::col_fullname($attempt);
- if ($this->is_downloading()) {
+ if ($this->is_downloading() || empty($attempt->attempt)) {
return $html;
}

0 comments on commit a7c5e2d

Please sign in to comment.