X-Git-Url: https://git.archive.openwrt.org/?a=blobdiff_plain;f=themes%2Fopenwrt-light%2Fluasrc%2Fview%2Fthemes%2Fopenwrt-light%2Fheader.htm;fp=themes%2Fopenwrt-light%2Fluasrc%2Fview%2Fthemes%2Fopenwrt-light%2Fheader.htm;h=48f2a5f2431003f98fc334cfe34b172b3512f07d;hb=91ba7c42f5b45614c9f4c803d09399f08a8e27b1;hp=0d9d1bd2e5f2060bbfb54d00e2842fda64e56cf3;hpb=43b3217e5595acc91ff6d7614a5c21c88696fbcc;p=project%2Fluci.git diff --git a/themes/openwrt-light/luasrc/view/themes/openwrt-light/header.htm b/themes/openwrt-light/luasrc/view/themes/openwrt-light/header.htm index 0d9d1bd2e..48f2a5f24 100644 --- a/themes/openwrt-light/luasrc/view/themes/openwrt-light/header.htm +++ b/themes/openwrt-light/luasrc/view/themes/openwrt-light/header.htm @@ -161,9 +161,7 @@ end <% if tree.nodes[category] and tree.nodes[category].ucidata then local ucic = 0 - require("luci.model.uci") - luci.model.uci.set_savedir(luci.model.uci.savedir_default) - for i, j in pairs(luci.model.uci.changes()) do + for i, j in pairs(require("luci.model.uci").cursor():changes()) do for k, l in pairs(j) do for m, n in pairs(l) do ucic = ucic + 1;