diff --git a/mod_form.php b/mod_form.php index 215719c..ddff934 100644 --- a/mod_form.php +++ b/mod_form.php @@ -71,6 +71,7 @@ function definition() { $mform->setType('externalecholink', PARAM_URL); $mform->addElement('hidden', 'previousecholink', '', array('id'=>'previousecholink')); + $mform->setType('previousecholink', PARAM_URL); $this->add_intro_editor($config->requiremodintro);