Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge branch 'MDL-29115_m20' of git://github.com/rwijaya/moodle into …

…MOODLE_20_STABLE
  • Loading branch information...
commit e1a236015c64ae9353c1b6b718bcbc9ba33bd78c 2 parents 11e45d0 + e6155df
@samhemelryk samhemelryk authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  mod/lesson/continue.php
View
2  mod/lesson/continue.php
@@ -197,7 +197,7 @@
}
// Review button back
-if (!$result->correctanswer && !$result->noanswer && !$result->isessayquestion && !$reviewmode) {
+if (!$result->correctanswer && !$result->noanswer && !$result->isessayquestion && !$reviewmode && $lesson->review) {
$url = $CFG->wwwroot.'/mod/lesson/view.php';
$content = html_writer::empty_tag('input', array('type'=>'hidden', 'name'=>'id', 'value'=>$cm->id));
$content .= html_writer::empty_tag('input', array('type'=>'hidden', 'name'=>'pageid', 'value'=>$page->id));
Please sign in to comment.
Something went wrong with that request. Please try again.