mirror of
https://github.com/openwrt/luci.git
synced 2026-08-28 05:46:45 +04:00
luci-mod-admin-full: fx crash in interface model
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
This commit is contained in:
@@ -373,7 +373,7 @@ for _, field in ipairs(s.children) do
|
||||
if next(field.deps) then
|
||||
local _, dep
|
||||
for _, dep in ipairs(field.deps) do
|
||||
dep.deps.proto = net:proto()
|
||||
dep.proto = net:proto()
|
||||
end
|
||||
else
|
||||
field:depends("proto", net:proto())
|
||||
|
||||
Reference in New Issue
Block a user