MDL-39611 url: Fix setType warnings in module settings

This commit is contained in:
Frederic Massart 2013-05-10 15:49:39 +08:00
parent dec909fcdd
commit 914077b4a8

View File

@ -127,6 +127,7 @@ class mod_url_mod_form extends moodleform_mod {
$mform->createElement('selectgroups', $variable, '', $options),
);
$mform->addGroup($group, $pargroup, get_string('parameterinfo', 'url'), ' ', false);
$mform->setType($parameter, PARAM_RAW);
}
//-------------------------------------------------------