Browse files

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

  • Loading branch information...
1 parent e04dba0 commit 68370e7bc6c125fae9c0fcfc0c4cbfa3d7e247bf @rwijaya rwijaya committed Oct 21, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/lesson/locallib.php
View
2 mod/lesson/locallib.php
@@ -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 68370e7

Please sign in to comment.