MDL-8883 fixed double backslashes problem in filter settings

This commit is contained in:
skodak 2007-03-16 22:16:35 +00:00
parent 5e57504798
commit b139c82dfc

View file

@ -59,10 +59,10 @@
// run through submitted data // run through submitted data
// reject if does not start with filter_ // reject if does not start with filter_
foreach ($config as $name => $value) { foreach ($config as $name => $value) {
set_config( $name,$value ); set_config($name, stripslashes($value));
} }
} }
redirect( "$CFG->wwwroot/$CFG->admin/filters.php", get_string('changessaved'), 1); redirect("$CFG->wwwroot/$CFG->admin/filters.php");
exit; exit;
} }