diff options
-rw-r--r-- | contrib/package/luci/Makefile | 2 | ||||
-rw-r--r-- | modules/admin-full/luasrc/model/cbi/admin_network/wifi.lua | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/contrib/package/luci/Makefile b/contrib/package/luci/Makefile index c26a845c9..3014a613b 100644 --- a/contrib/package/luci/Makefile +++ b/contrib/package/luci/Makefile @@ -148,7 +148,7 @@ endef define Package/luci-uci $(call Package/luci/libtemplate) - DEPENDS+=+libuci + DEPENDS+=+libuci @!PACKAGE_libuci-lua TITLE:=High-Level UCI API endef diff --git a/modules/admin-full/luasrc/model/cbi/admin_network/wifi.lua b/modules/admin-full/luasrc/model/cbi/admin_network/wifi.lua index 46f05a3af..61b95b23a 100644 --- a/modules/admin-full/luasrc/model/cbi/admin_network/wifi.lua +++ b/modules/admin-full/luasrc/model/cbi/admin_network/wifi.lua @@ -86,7 +86,7 @@ network.combobox_manual = translate("a_w_netmanual") luci.tools.webadmin.cbi_add_networks(network) function network.write(self, section, value) - if not m:uci.get("network", value) then + if not m.uci:get("network", value) then m:chain("network") m.uci:set("network", value, "interface") Value.write(self, section, value) |