summaryrefslogtreecommitdiffhomepage
path: root/libs/cbi/luasrc/cbi.lua
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2008-09-07 23:03:05 +0000
committerSteven Barth <steven@midlink.org>2008-09-07 23:03:05 +0000
commit2590722de0a23456aa029c8db551964c7595eccd (patch)
tree71234bb772bd67e76e4b9b82c041e489a2ec61bd /libs/cbi/luasrc/cbi.lua
parent7fb577f21e7fab5e88e5dcccc90e6d585700b3eb (diff)
libs/cbi: Fixed DynamicLists
Diffstat (limited to 'libs/cbi/luasrc/cbi.lua')
-rw-r--r--libs/cbi/luasrc/cbi.lua2
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