diff options
Diffstat (limited to 'themes/fledermaus/luasrc/view')
-rw-r--r-- | themes/fledermaus/luasrc/view/themes/fledermaus/header.htm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/themes/fledermaus/luasrc/view/themes/fledermaus/header.htm b/themes/fledermaus/luasrc/view/themes/fledermaus/header.htm index a8ecff7f2..32d844f01 100644 --- a/themes/fledermaus/luasrc/view/themes/fledermaus/header.htm +++ b/themes/fledermaus/luasrc/view/themes/fledermaus/header.htm @@ -122,7 +122,7 @@ end require("luci.model.uci") local ucic = 0 local changes = luci.model.uci.changes() - if changes then + if type(changes) == "table" then -- XXX: sometimes string or nil / needs investigation for n, s in pairs(changes) do for no, o in pairs(s) do ucic = ucic + 1; |