Skip to content

Commit

Permalink
MDL-29535 fix support for custom filter settings in contrib filters
Browse files Browse the repository at this point in the history
  • Loading branch information
skodak committed Sep 26, 2011
1 parent 51e1e3d commit 60df5b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion filter/local_settings_form.php
Expand Up @@ -53,7 +53,7 @@ public function definition() {
$mform->setDefault('contextid', $this->context->id); $mform->setDefault('contextid', $this->context->id);


$mform->addElement('hidden', 'filter'); $mform->addElement('hidden', 'filter');
$mform->setType('filter', PARAM_ALPHAEXT); $mform->setType('filter', PARAM_SAFEPATH);
$mform->setDefault('filter', $this->filter); $mform->setDefault('filter', $this->filter);


$this->add_action_buttons(); $this->add_action_buttons();
Expand Down

0 comments on commit 60df5b0

Please sign in to comment.