mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 08:56:36 +02:00
MDL-62750 lang: Trim langlist setting values
This commit is contained in:
parent
6e020b161a
commit
23c2316697
1 changed files with 1 additions and 0 deletions
|
@ -6990,6 +6990,7 @@ function get_string_manager($forcereload=false) {
|
||||||
$translist = array();
|
$translist = array();
|
||||||
} else {
|
} else {
|
||||||
$translist = explode(',', $CFG->langlist);
|
$translist = explode(',', $CFG->langlist);
|
||||||
|
$translist = array_map('trim', $translist);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!empty($CFG->config_php_settings['customstringmanager'])) {
|
if (!empty($CFG->config_php_settings['customstringmanager'])) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue