summaryrefslogtreecommitdiffhomepage
path: root/themes/openwrt.org/luasrc/view
diff options
context:
space:
mode:
Diffstat (limited to 'themes/openwrt.org/luasrc/view')
-rw-r--r--themes/openwrt.org/luasrc/view/themes/openwrt.org/header.htm2
1 files changed, 1 insertions, 1 deletions
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 7b711d0625..5aed18f367 100644
--- a/themes/openwrt.org/luasrc/view/themes/openwrt.org/header.htm
+++ b/themes/openwrt.org/luasrc/view/themes/openwrt.org/header.htm
@@ -157,7 +157,7 @@ end
</div>
<%
- if tree.nodes[category].ucidata then
+ if tree.nodes[category] and tree.nodes[category].ucidata then
local ucic = 0
for i, j in pairs(require("luci.model.uci").changes()) do
for k, l in pairs(j) do