MDL-8883 fixed double backslashes problem in filter settings; merged from MOODLE_18_STABLE

This commit is contained in:
skodak
2007-03-16 22:17:57 +00:00
parent 1306c5ea1c
commit c2127e375f
+2 -2
View File
@@ -59,10 +59,10 @@
// run through submitted data
// reject if does not start with filter_
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;
}