diff options
Diffstat (limited to 'themes/fledermaus/luasrc/view')
-rw-r--r-- | themes/fledermaus/luasrc/view/themes/fledermaus/header.htm | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/themes/fledermaus/luasrc/view/themes/fledermaus/header.htm b/themes/fledermaus/luasrc/view/themes/fledermaus/header.htm index cb378555f1..2aea59cfdc 100644 --- a/themes/fledermaus/luasrc/view/themes/fledermaus/header.htm +++ b/themes/fledermaus/luasrc/view/themes/fledermaus/header.htm @@ -120,9 +120,11 @@ end <% if "admin" == request[1] then require("luci.model.uci") - local ucic = luci.model.uci.changes() - if ucic then - ucic = #luci.util.split(ucic) + local ucic = 0 + for n, s in pairs(luci.model.uci.changes()) do + for no, o in pairs(s) do + ucic = ucic + 1; + end end %> <div><%:config Konfiguration%> @@ -138,4 +140,4 @@ end </div> <% end %> </div> - <div id="content">
\ No newline at end of file + <div id="content"> |