summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2008-09-16 10:08:04 +0000
committerSteven Barth <steven@midlink.org>2008-09-16 10:08:04 +0000
commitc652c5ee52a97a15eb00b1abb11c78281525c195 (patch)
treeb98c36d122e0f290f5710b137c27828ad8999940
parentccf1355343ec104146259119b0a61b0e9d856b8d (diff)
FF-Wizard: Fixed a problem with custom settings
-rw-r--r--applications/luci-ffwizard-leipzig/luasrc/model/cbi/ffwizard.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/applications/luci-ffwizard-leipzig/luasrc/model/cbi/ffwizard.lua b/applications/luci-ffwizard-leipzig/luasrc/model/cbi/ffwizard.lua
index 7da7655d5d..54eeb30c05 100644
--- a/applications/luci-ffwizard-leipzig/luasrc/model/cbi/ffwizard.lua
+++ b/applications/luci-ffwizard-leipzig/luasrc/model/cbi/ffwizard.lua
@@ -164,7 +164,7 @@ function main.write(self, section, value)
tools.firewall_zone_remove_interface("freifunk", device)
-- Tune community settings
- if community then
+ if community and uci:get("freifunk", community) then
uci:tset("freifunk", "community", uci:get_all("freifunk", community))
end