Merge pull request #718 from SvenRoederer/fix/freifunk-communitysetting-selection/for-15.05
luci-mod-freifunk: fix lookup of community-name
This commit is contained in:
commit
06a32ecdca
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ community.rmempty = false
|
|||
local profile
|
||||
for profile in fs.glob(profiles) do
|
||||
local name = uci:get_first(profile, "community", "name") or "?"
|
||||
community:value(profile, name)
|
||||
community:value(string.gsub(profile, "/etc/config/profile_", ""), name)
|
||||
end
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue