MDL-29542 lesson module: changing qtype param type to INT
This commit is contained in:
@@ -723,7 +723,7 @@ abstract class lesson_add_page_form_base extends moodleform {
|
||||
|
||||
if ($this->standard === true) {
|
||||
$mform->addElement('hidden', 'qtype');
|
||||
$mform->setType('qtype', PARAM_PLUGIN);
|
||||
$mform->setType('qtype', PARAM_INT);
|
||||
|
||||
$mform->addElement('text', 'title', get_string('pagetitle', 'lesson'), array('size'=>70));
|
||||
$mform->setType('title', PARAM_TEXT);
|
||||
|
||||
Reference in New Issue
Block a user