Skip to content

Commit

Permalink
MDL-41996: Don't show the Review Attempt link if no attempts exist.
Browse files Browse the repository at this point in the history
  • Loading branch information
tlock committed Sep 26, 2013
1 parent f09119e commit 7d0f566
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mod/quiz/report/attemptsreport_table.php
Expand Up @@ -138,7 +138,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;
}

Expand Down

0 comments on commit 7d0f566

Please sign in to comment.