Permalink
Browse files

quiz-report-grading MDL-20724 Fixed display of table when no results …

…are available due to firstname/surname filtering
  • Loading branch information...
1 parent ce0e1f2 commit d9b5ed15b64ce360b5dc73453113cba5089ab285 Sam Hemelryk committed Jul 23, 2010
Showing with 4 additions and 6 deletions.
  1. +4 −6 mod/quiz/report/grading/report.php
@@ -321,13 +321,11 @@ function view_question($quiz, $question, $totalattempts, $ungraded) {
}
$table->add_separator();
$table->add_data_keyed(array('grade'=> $links));
- // print everything here
- echo '<div id="tablecontainer">';
- $table->print_html();
- echo '</div>';
- } else {
- notify(get_string('noattemptstoshow', 'quiz'));
}
+ // print everything here
+ echo '<div id="tablecontainer">';
+ $table->print_html();
+ echo '</div>';
}

0 comments on commit d9b5ed1

Please sign in to comment.