Permalink
Browse files

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

…MOODLE_20_STABLE
  • Loading branch information...
2 parents 1e898ee + e6aebbf commit 2db9576147bf14988adcfadb9cc18e60ed03f882 @nebgor nebgor committed Oct 24, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/lesson/locallib.php
View
@@ -723,7 +723,7 @@ public function custom_definition() {}
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);

0 comments on commit 2db9576

Please sign in to comment.