Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Merge branch 'MDL-28377' of git://github.com/timhunt/moodle

  • Loading branch information...
commit d98b0fe9d254bf27c990a32a71f17076d4cbce29 2 parents e58d77a + 8c4deb8
Petr Skoda skodak authored

Showing 1 changed file with 2 additions and 3 deletions. Show diff stats Hide diff stats

  1. +2 3 mod/quiz/renderer.php
5 mod/quiz/renderer.php
@@ -52,7 +52,7 @@ public function review_page(quiz_attempt $attemptobj, $slots, $page, $showall,
52 52 $output .= $this->review_summary_table($summarydata, $page);
53 53 $output .= $this->review_form($page, $showall, $displayoptions,
54 54 $this->questions($attemptobj, true, $slots, $page, $showall, $displayoptions),
55   - $attemptobj, $showall);
  55 + $attemptobj);
56 56
57 57 $output .= $this->review_next_navigation($attemptobj, $page, $lastpage);
58 58 $output .= $this->footer();
@@ -194,8 +194,7 @@ public function questions(quiz_attempt $attemptobj, $reviewing, $slots, $page, $
194 194 * @param quiz_attempt $attemptobj instance of quiz_attempt
195 195 * @param bool $showall if true display attempt on one page
196 196 */
197   - public function review_form($summarydata, $page, $displayoptions, $content, $attemptobj,
198   - $showall) {
  197 + public function review_form($page, $showall, $displayoptions, $content, $attemptobj) {
199 198 if ($displayoptions->flags != question_display_options::EDITABLE) {
200 199 return $content;
201 200 }

0 comments on commit d98b0fe

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