FF-Wizard: Fixed a problem with custom settings

This commit is contained in:
Steven Barth 2008-09-16 10:08:04 +00:00
parent ccf1355343
commit c652c5ee52

View file

@ -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