MDL-32396 more quiz strict syntax problems.

This commit is contained in:
Tim Hunt 2012-04-18 08:55:12 +01:00 committed by Dan Poltawski
parent b449d3b7a2
commit 34b037dec6
2 changed files with 4 additions and 4 deletions

View file

@ -244,7 +244,7 @@ $output = $PAGE->get_renderer('mod_quiz');
// Arrange for the navigation to be displayed.
$navbc = $attemptobj->get_navigation_panel($output, 'quiz_review_nav_panel', $page, $showall);
$firstregion = reset($PAGE->blocks->get_regions());
$PAGE->blocks->add_fake_block($navbc, $firstregion);
$regions = $PAGE->blocks->get_regions();
$PAGE->blocks->add_fake_block($navbc, reset($regions));
echo $output->review_page($attemptobj, $slots, $page, $showall, $lastpage, $options, $summarydata);