diff options
Diffstat (limited to 'themes/openwrt-light')
-rw-r--r-- | themes/openwrt-light/luasrc/view/themes/openwrt-light/header.htm | 4 |
1 files changed, 3 insertions, 1 deletions
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 e9e1a135a..fe0fa0b33 100644 --- a/themes/openwrt-light/luasrc/view/themes/openwrt-light/header.htm +++ b/themes/openwrt-light/luasrc/view/themes/openwrt-light/header.htm @@ -161,7 +161,9 @@ end <% if tree.nodes[category] and tree.nodes[category].ucidata then local ucic = 0 - for i, j in pairs(require("luci.model.uci").changes()) do + 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 k, l in pairs(j) do for m, n in pairs(l) do ucic = ucic + 1; |