projects
/
project
/
luci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
libs/web: remove debugging code
[project/luci.git]
/
libs
/
web
/
luasrc
/
cbi.lua
diff --git
a/libs/web/luasrc/cbi.lua
b/libs/web/luasrc/cbi.lua
index
e885e4e
..
ef45a89
100644
(file)
--- a/
libs/web/luasrc/cbi.lua
+++ b/
libs/web/luasrc/cbi.lua
@@
-1432,13
+1432,11
@@
function AbstractValue.validate(self, value)
local v
for _, v in ipairs(value) do
if v and #v > 0 and not verify_datatype(self.datatype, v) then
- error('F')
return nil
end
end
else
if not verify_datatype(self.datatype, value) then
- error('F')
return nil
end
end