projects
/
project
/
luci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* luci/themes: fix admin header template, crashes badly when luci.model.uci.changes...
[project/luci.git]
/
themes
/
openwrt.org
/
luasrc
/
view
/
themes
/
openwrt.org
/
header.htm
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
71328e4
..
3ecc8d7
100644
(file)
--- a/
themes/openwrt.org/luasrc/view/themes/openwrt.org/header.htm
+++ b/
themes/openwrt.org/luasrc/view/themes/openwrt.org/header.htm
@@
-121,7
+121,8
@@
end
if "admin" == request[1] then
require("luci.model.uci")
local ucic = 0
- for n, s in pairs(luci.model.uci.changes()) do
+ local changes = luci.model.uci.changes()
+ for n, s in pairs(changes) do
for no, o in pairs(s) do
ucic = ucic + 1;
end