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 <% - 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