mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-23 23:56:15 +00:00
Fixed: Wrong comparison
This commit is contained in:
parent
9f6f050958
commit
8a137088ba
1 changed files with 1 additions and 1 deletions
|
@ -1919,7 +1919,7 @@ class CAHOpenURL : public IActionHandler
|
||||||
if (pos_lang != string::npos)
|
if (pos_lang != string::npos)
|
||||||
pos_lang = url.find("=en#");
|
pos_lang = url.find("=en#");
|
||||||
|
|
||||||
if (pos_lang != string::npos)
|
if (pos_lang == string::npos)
|
||||||
url.replace(pos_lang + 1, 2, ClientCfg.getHtmlLanguageCode());
|
url.replace(pos_lang + 1, 2, ClientCfg.getHtmlLanguageCode());
|
||||||
|
|
||||||
// append language
|
// append language
|
||||||
|
|
Loading…
Reference in a new issue