diff options
author | Steven Barth <steven@midlink.org> | 2008-09-07 23:03:05 +0000 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2008-09-07 23:03:05 +0000 |
commit | 2590722de0a23456aa029c8db551964c7595eccd (patch) | |
tree | 71234bb772bd67e76e4b9b82c041e489a2ec61bd /libs/cbi/luasrc/cbi.lua | |
parent | 7fb577f21e7fab5e88e5dcccc90e6d585700b3eb (diff) |
libs/cbi: Fixed DynamicLists
Diffstat (limited to 'libs/cbi/luasrc/cbi.lua')
-rw-r--r-- | libs/cbi/luasrc/cbi.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/cbi/luasrc/cbi.lua b/libs/cbi/luasrc/cbi.lua index 3e72097814..30727cef22 100644 --- a/libs/cbi/luasrc/cbi.lua +++ b/libs/cbi/luasrc/cbi.lua @@ -1227,7 +1227,7 @@ function StaticList.validate(self, value) local valid = {} for i, v in ipairs(value) do - if luci.util.contains(self.valuelist, v) then + if luci.util.contains(self.vallist, v) then table.insert(valid, v) end end |