Skip to content

Commit

Permalink
Merge branch 'MDL-42548' of git://github.com/timhunt/moodle
Browse files Browse the repository at this point in the history
  • Loading branch information
danpoltawski committed Nov 4, 2013
2 parents efe938f + 6c7e553 commit 5e70fc1
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions mod/quiz/review.php
Expand Up @@ -187,10 +187,7 @@
if ($options->marks >= question_display_options::MARK_AND_MAX && quiz_has_grades($quiz)) {

if ($attempt->state != quiz_attempt::FINISHED) {
$summarydata['grade'] = array(
'title' => get_string('grade', 'quiz'),
'content' => get_string('attemptstillinprogress', 'quiz'),
);
// Cannot display grade.

} else if (is_null($grade)) {
$summarydata['grade'] = array(
Expand Down

0 comments on commit 5e70fc1

Please sign in to comment.