* 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")
|
||||
local ucic = 0
|
||||
local changes = luci.model.uci.changes()
|
||||
for n, s in pairs(changes) do
|
||||
for no, o in pairs(s) do
|
||||
ucic = ucic + 1;
|
||||
if changes then
|
||||
for n, s in pairs(changes) do
|
||||
for no, o in pairs(s) do
|
||||
ucic = ucic + 1;
|
||||
end
|
||||
end
|
||||
end
|
||||
%>
|
||||
|
|
|
@ -122,9 +122,11 @@ end
|
|||
require("luci.model.uci")
|
||||
local ucic = 0
|
||||
local changes = luci.model.uci.changes()
|
||||
for n, s in pairs(changes) do
|
||||
for no, o in pairs(s) do
|
||||
ucic = ucic + 1;
|
||||
if changes then
|
||||
for n, s in pairs(changes) do
|
||||
for no, o in pairs(s) do
|
||||
ucic = ucic + 1;
|
||||
end
|
||||
end
|
||||
end
|
||||
%>
|
||||
|
|
Loading…
Reference in a new issue