mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
MDL-8883 fixed double backslashes problem in filter settings
This commit is contained in:
parent
5e57504798
commit
b139c82dfc
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue