summaryrefslogtreecommitdiffhomepage
path: root/themes/fledermaus/luasrc/view
diff options
context:
space:
mode:
Diffstat (limited to 'themes/fledermaus/luasrc/view')
-rw-r--r--themes/fledermaus/luasrc/view/themes/fledermaus/header.htm8
1 files changed, 5 insertions, 3 deletions
diff --git a/themes/fledermaus/luasrc/view/themes/fledermaus/header.htm b/themes/fledermaus/luasrc/view/themes/fledermaus/header.htm
index 40086d9ca7..a8ecff7f2f 100644
--- a/themes/fledermaus/luasrc/view/themes/fledermaus/header.htm
+++ b/themes/fledermaus/luasrc/view/themes/fledermaus/header.htm
@@ -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
%>