MDL-29542 lesson module: changing qtype param type to INT

This commit is contained in:
Rossiani Wijaya
2011-10-21 12:38:29 +08:00
parent 3a81b37617
commit 05db3cc7e5
+1 -1
View File
@@ -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);