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-29115_m20' of git://github.com/rwijaya/moodle into …

…MOODLE_20_STABLE
  • Loading branch information...
commit e1a236015c64ae9353c1b6b718bcbc9ba33bd78c 2 parents 11e45d0 + e6155df
Sam Hemelryk samhemelryk authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  mod/lesson/continue.php
2  mod/lesson/continue.php
@@ -197,7 +197,7 @@
197 197 }
198 198
199 199 // Review button back
200   -if (!$result->correctanswer && !$result->noanswer && !$result->isessayquestion && !$reviewmode) {
  200 +if (!$result->correctanswer && !$result->noanswer && !$result->isessayquestion && !$reviewmode && $lesson->review) {
201 201 $url = $CFG->wwwroot.'/mod/lesson/view.php';
202 202 $content = html_writer::empty_tag('input', array('type'=>'hidden', 'name'=>'id', 'value'=>$cm->id));
203 203 $content .= html_writer::empty_tag('input', array('type'=>'hidden', 'name'=>'pageid', 'value'=>$page->id));

0 comments on commit e1a2360

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