diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2008-06-04 21:04:51 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2008-06-04 21:04:51 +0000 |
commit | b871cadf34ed0c78e7619011d44029a1af269b4c (patch) | |
tree | 7061b2eb9c5c6b2f0408a05d2bacf086abeb7622 /themes/fledermaus/luasrc/view | |
parent | 25e71a2acf91c084bf18049fc0d159fa19673876 (diff) |
* luci/themes: oops I forgot the most important piece of code - fix last commit
Diffstat (limited to 'themes/fledermaus/luasrc/view')
-rw-r--r-- | themes/fledermaus/luasrc/view/themes/fledermaus/header.htm | 8 |
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 40086d9ca..a8ecff7f2 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 %> |