summaryrefslogtreecommitdiffhomepage
path: root/themes/fledermaus
diff options
context:
space:
mode:
Diffstat (limited to 'themes/fledermaus')
-rw-r--r--themes/fledermaus/luasrc/view/themes/fledermaus/header.htm5
1 files changed, 2 insertions, 3 deletions
diff --git a/themes/fledermaus/luasrc/view/themes/fledermaus/header.htm b/themes/fledermaus/luasrc/view/themes/fledermaus/header.htm
index 5cc240ef6..a109582f7 100644
--- a/themes/fledermaus/luasrc/view/themes/fledermaus/header.htm
+++ b/themes/fledermaus/luasrc/view/themes/fledermaus/header.htm
@@ -154,9 +154,8 @@ 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;