Fixed: Wrong comparison

--HG--
branch : compatibility-develop
hg/compatibility-develop
kervala 9 years ago
parent cdab63fb2c
commit a1c89b0d7b

@ -1919,7 +1919,7 @@ class CAHOpenURL : public IActionHandler
if (pos_lang != string::npos)
pos_lang = url.find("=en#");
if (pos_lang != string::npos)
if (pos_lang == string::npos)
url.replace(pos_lang + 1, 2, ClientCfg.getHtmlLanguageCode());
// append language

Loading…
Cancel
Save