* luci/themes: oops I forgot the most important piece of code - fix last commit

This commit is contained in:
Jo-Philipp Wich 2008-06-04 21:04:51 +00:00
parent 25e71a2acf
commit b871cadf34
2 changed files with 10 additions and 6 deletions

View file

@ -122,11 +122,13 @@ 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()
if changes then
for n, s in pairs(changes) do for n, s in pairs(changes) do
for no, o in pairs(s) do for no, o in pairs(s) do
ucic = ucic + 1; ucic = ucic + 1;
end end
end end
end
%> %>
<div><%:config Konfiguration%> <div><%:config Konfiguration%>
<ul> <ul>

View file

@ -122,11 +122,13 @@ 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()
if changes then
for n, s in pairs(changes) do for n, s in pairs(changes) do
for no, o in pairs(s) do for no, o in pairs(s) do
ucic = ucic + 1; ucic = ucic + 1;
end end
end end
end
%> %>
<div><%:config Konfiguration%> <div><%:config Konfiguration%>
<ul> <ul>