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

This commit is contained in:
Aparup Banerjee
2011-10-24 17:05:49 +08:00
+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_SAFEDIR);
$mform->setType('qtype', PARAM_INT);
$mform->addElement('text', 'title', get_string('pagetitle', 'lesson'), array('size'=>70));
$mform->setType('title', PARAM_TEXT);