Skip to content
Snippets Groups Projects
Commit b6403458 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Convert charset to lower case before using in section name

(so, [modname:charset=mode7], not [modname:charset=MODE7])
parent eca39738
No related branches found
No related tags found
No related merge requests found
Pipeline #8235 passed
......@@ -32,7 +32,7 @@ function get_mod_options(modname, optname, default_optval)
if(js.global.console || user.lang) {
var sections = ini_file.iniGetSections();
if(js.global.console)
section = modname + ':charset=' + console.charset;
section = modname + ':charset=' + console.charset.toLowerCase();
if(user.lang) {
if(section === undefined || sections.indexOf(section) < 0)
section = modname + ':lang=' + user.lang;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment