MDL-29401 fix previous regression
authorPetr Skoda <commits@skodak.org>
Mon, 26 Sep 2011 21:21:39 +0000 (23:21 +0200)
committerPetr Skoda <commits@skodak.org>
Mon, 26 Sep 2011 21:21:39 +0000 (23:21 +0200)
The problem was introduced when / was removed from PARAM_ALPHAEXT.

filter/local_settings_form.php

index cc616cc..1721ffa 100644 (file)
@@ -53,7 +53,7 @@ abstract class filter_local_settings_form extends moodleform {
         $mform->setDefault('contextid', $this->context->id);
 
         $mform->addElement('hidden', 'filter');
-        $mform->setType('filter', PARAM_PLUGIN);
+        $mform->setType('filter', PARAM_SAFEPATH);
         $mform->setDefault('filter', $this->filter);
 
         $this->add_action_buttons();