projects
/
project
/
luci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* CBI updates
[project/luci.git]
/
src
/
ffluci
/
util.lua
diff --git
a/src/ffluci/util.lua
b/src/ffluci/util.lua
index
b219be1
..
8a52617
100644
(file)
--- 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