summaryrefslogtreecommitdiffhomepage
path: root/src/ffluci/util.lua
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2008-03-22 21:26:44 +0000
committerSteven Barth <steven@midlink.org>2008-03-22 21:26:44 +0000
commitef01ff75db17f23a90757cf473778cfefe1ad120 (patch)
tree954eaecffa563e1d97da7ed4288e65254ee46041 /src/ffluci/util.lua
parent93c55f3c5d7d253423c9d5695b8d71388bd21988 (diff)
* CBI updates
Diffstat (limited to 'src/ffluci/util.lua')
-rw-r--r--src/ffluci/util.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ffluci/util.lua b/src/ffluci/util.lua
index b219be130e..8a526173d7 100644
--- a/src/ffluci/util.lua
+++ b/src/ffluci/util.lua
@@ -161,7 +161,7 @@ function validate(value, cast_number, cast_int, valid)
if type(valid) == "function" then
value = valid(value)
elseif type(valid) == "table" then
- if not ffluci.util.contains(valid, value) then
+ if not contains(valid, value) then
value = nil
end
end