Permalink
Browse files

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

  • Loading branch information...
1 parent 3a81b37 commit 05db3cc7e5806cc1020fd72a273d6fa6983b496f @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_PLUGIN);
+ $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 05db3cc

Please sign in to comment.