* luci/themes: oops I forgot the most important piece of code - fix last commit
This commit is contained in:
parent
25e71a2acf
commit
b871cadf34
2 changed files with 10 additions and 6 deletions
|
@ -122,9 +122,11 @@ end
|
||||||
require("luci.model.uci")
|
require("luci.model.uci")
|
||||||
local ucic = 0
|
local ucic = 0
|
||||||
local changes = luci.model.uci.changes()
|
local changes = luci.model.uci.changes()
|
||||||
for n, s in pairs(changes) do
|
if changes then
|
||||||
for no, o in pairs(s) do
|
for n, s in pairs(changes) do
|
||||||
ucic = ucic + 1;
|
for no, o in pairs(s) do
|
||||||
|
ucic = ucic + 1;
|
||||||
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
%>
|
%>
|
||||||
|
|
|
@ -122,9 +122,11 @@ end
|
||||||
require("luci.model.uci")
|
require("luci.model.uci")
|
||||||
local ucic = 0
|
local ucic = 0
|
||||||
local changes = luci.model.uci.changes()
|
local changes = luci.model.uci.changes()
|
||||||
for n, s in pairs(changes) do
|
if changes then
|
||||||
for no, o in pairs(s) do
|
for n, s in pairs(changes) do
|
||||||
ucic = ucic + 1;
|
for no, o in pairs(s) do
|
||||||
|
ucic = ucic + 1;
|
||||||
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
%>
|
%>
|
||||||
|
|
Loading…
Reference in a new issue