1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-03-09 15:40:03 +00:00

Fix wizard

This commit is contained in:
Ycarus 2018-06-15 08:29:35 +02:00
parent 24352f1ad6
commit 6a2156afd3

View file

@ -46,7 +46,7 @@ function wizard_add()
gostatus = false gostatus = false
end end
local delete_intf = luci.http.formvaluetable("delete") local delete_intf = luci.http.formvaluetable("delete") or ""
if delete_intf ~= "" then if delete_intf ~= "" then
for intf, _ in pairs(delete_intf) do for intf, _ in pairs(delete_intf) do
ucic:delete("network",intf) ucic:delete("network",intf)