mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 15:39:33 +00:00
Fixes locales ordering
This commit is contained in:
parent
4a2beea490
commit
2c50c66532
5 changed files with 12 additions and 10 deletions
|
|
@ -36,7 +36,7 @@ if(haveAdminPrivileges()) then
|
|||
else
|
||||
local available_locale = false
|
||||
|
||||
for _, l in pairs(locales_utils.getAvailableLocales()) do
|
||||
for _, l in ipairs(locales_utils.getAvailableLocales()) do
|
||||
if l["code"] == value["language"] then
|
||||
available_locale = true
|
||||
break
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue