diff --git a/mod/lesson/continue.php b/mod/lesson/continue.php
index 294c235bc6f..4be3e23e63e 100644
--- a/mod/lesson/continue.php
+++ b/mod/lesson/continue.php
@@ -175,7 +175,7 @@ if (isset($USER->modattempts[$lesson->id])) {
$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'=>LESSON_EOL));
$content .= html_writer::empty_tag('input', array('type'=>'submit', 'name'=>'submit', 'value'=>get_string('savechanges', 'lesson')));
- echo html_writer::tag('form', "
$content
", array('method'=>'get', 'target'=>$url));
+ echo html_writer::tag('form', "$content
", array('method'=>'post', 'action'=>$url));
}
// Review button back
@@ -184,7 +184,7 @@ if ($lesson->review && !$result->correctanswer && !$result->noanswer && !$result
$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));
$content .= html_writer::empty_tag('input', array('type'=>'submit', 'name'=>'submit', 'value'=>get_string('reviewquestionback', 'lesson')));
- echo html_writer::tag('form', "$content
", array('method'=>'get', 'target'=>$url));
+ echo html_writer::tag('form', "$content
", array('method'=>'post', 'action'=>$url));
}
$url = new moodle_url('/mod/lesson/view.php', array('id'=>$cm->id, 'pageid'=>$result->newpageid));