Skip to content
Browse files

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

  • Loading branch information...
1 parent 46b23b6 commit 06e8ce4f880f187d156944a491aea95ae823ba36 @tlock tlock committed with stronk7 Sep 26, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/quiz/report/attemptsreport_table.php
View
2 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 06e8ce4

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