summaryrefslogtreecommitdiffhomepage
path: root/themes/openwrt.org/luasrc
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2008-06-06 20:45:33 +0000
committerSteven Barth <steven@midlink.org>2008-06-06 20:45:33 +0000
commitcd0fb5e44e5cb538d93024d02a14a02c00752641 (patch)
treed6188cf6d6c9ee67b4a12261c3faee545cd446aa /themes/openwrt.org/luasrc
parent8644ff1eab93d067e316eee9f4b567e1bf07ccb3 (diff)
* Removed High-Level UCI-API due to Lua compiler bugs
Diffstat (limited to 'themes/openwrt.org/luasrc')
-rw-r--r--themes/openwrt.org/luasrc/view/themes/openwrt.org/header.htm8
1 files changed, 5 insertions, 3 deletions
diff --git a/themes/openwrt.org/luasrc/view/themes/openwrt.org/header.htm b/themes/openwrt.org/luasrc/view/themes/openwrt.org/header.htm
index 5c354d5b4..8672b381a 100644
--- a/themes/openwrt.org/luasrc/view/themes/openwrt.org/header.htm
+++ b/themes/openwrt.org/luasrc/view/themes/openwrt.org/header.htm
@@ -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
%>