diff options
author | Steven Barth <steven@midlink.org> | 2008-09-07 23:50:58 +0000 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2008-09-07 23:50:58 +0000 |
commit | 19c79a30b91354932b12ffb9f866471b06a570df (patch) | |
tree | 52a58805cf101d318f4cfa8afdde264b4cf75ca1 /libs/cbi/luasrc/view | |
parent | 554286bdc686b30ef70fedaa3765c920cfd27836 (diff) |
Fixed DHCP-Options and some CBI stuff
Diffstat (limited to 'libs/cbi/luasrc/view')
-rw-r--r-- | libs/cbi/luasrc/view/cbi/dynlist.htm | 2 | ||||
-rw-r--r-- | libs/cbi/luasrc/view/cbi/mvalue.htm | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/libs/cbi/luasrc/view/cbi/dynlist.htm b/libs/cbi/luasrc/view/cbi/dynlist.htm index 1d28f95d9b..1cfd6f03e5 100644 --- a/libs/cbi/luasrc/view/cbi/dynlist.htm +++ b/libs/cbi/luasrc/view/cbi/dynlist.htm @@ -14,7 +14,7 @@ $Id$ -%> <%+cbi/valueheader%> <% - local vals = self:cfgvalue(section) + local vals = self:cfgvalue(section) or {} for i=1, #vals + 1 do local val = vals[i] %> diff --git a/libs/cbi/luasrc/view/cbi/mvalue.htm b/libs/cbi/luasrc/view/cbi/mvalue.htm index 4b69708ecd..414089fb2e 100644 --- a/libs/cbi/luasrc/view/cbi/mvalue.htm +++ b/libs/cbi/luasrc/view/cbi/mvalue.htm @@ -13,7 +13,7 @@ $Id$ -%> <% -local v = self:valuelist(section) +local v = self:valuelist(section) or {} %> <%+cbi/valueheader%> <% if self.widget == "select" then %> |