Skip to content
Browse files

MDL-28377 Call to mod_quiz_renderer is screwed up.

  • Loading branch information...
1 parent aede1fe commit ce9423eaa7ab12eb70193e1c9d2138e6f4d15672 @timhunt timhunt committed Jul 25, 2011
Showing with 2 additions and 3 deletions.
  1. +2 −3 mod/quiz/renderer.php
View
5 mod/quiz/renderer.php
@@ -52,7 +52,7 @@ public function review_page(quiz_attempt $attemptobj, $slots, $page, $showall,
$output .= $this->review_summary_table($summarydata, $page);
$output .= $this->review_form($page, $showall, $displayoptions,
$this->questions($attemptobj, true, $slots, $page, $showall, $displayoptions),
- $attemptobj, $showall);
+ $attemptobj);
$output .= $this->review_next_navigation($attemptobj, $page, $lastpage);
$output .= $this->footer();
@@ -194,8 +194,7 @@ public function questions(quiz_attempt $attemptobj, $reviewing, $slots, $page, $
* @param quiz_attempt $attemptobj instance of quiz_attempt
* @param bool $showall if true display attempt on one page
*/
- public function review_form($summarydata, $page, $displayoptions, $content, $attemptobj,
- $showall) {
+ public function review_form($page, $showall, $displayoptions, $content, $attemptobj) {
if ($displayoptions->flags != question_display_options::EDITABLE) {
return $content;
}

0 comments on commit ce9423e

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