* Removed High-Level UCI-API due to Lua compiler bugs
[project/luci.git] / themes / fledermaus / luasrc / view / themes / fledermaus / header.htm
index 1b7c875..0556bef 100644 (file)
@@ -120,9 +120,11 @@ end
                <%
                        if "admin" == request[1] then
                                local ucic = 0
-                               for n, s in pairs(require("luci.model.uci").changes()) do
-                                       for no, o in pairs(s) do
-                                               ucic = ucic + 1;
+                               for i, j in pairs(require("luci.model.uci").changes()) do
+                                       for k, l in pairs(j) do
+                                               for m, n in pairs(l) do
+                                                       ucic = ucic + 1;
+                                               end
                                        end
                                end
                %>