mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
MDL-7234 Smilies don't load in HTML editor for some languages
This commit is contained in:
parent
14bac768f3
commit
81f5d4a102
1 changed files with 1 additions and 1 deletions
|
@ -4693,7 +4693,7 @@ function get_list_of_pixnames($lang = '') {
|
|||
} else if (file_exists($CFG->dataroot .'/lang/'. $lang .'/pix.php')) {
|
||||
$path = $CFG->dataroot .'/lang/'. $lang .'/pix.php';
|
||||
|
||||
} else if ($parentlang = get_string('parentlanguage')) {
|
||||
} else if ($parentlang = get_string('parentlanguage') and $parentlang != '[[parentlanguage]]') {
|
||||
return get_list_of_pixnames($parentlang); //return pixnames from parent language instead
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue