From c652c5ee52a97a15eb00b1abb11c78281525c195 Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Tue, 16 Sep 2008 10:08:04 +0000 Subject: [PATCH] FF-Wizard: Fixed a problem with custom settings --- .../luci-ffwizard-leipzig/luasrc/model/cbi/ffwizard.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.30.2