projects
/
oweals
/
luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3d426e4
)
libs/cbi: change usage of uvl error api after r5861
author
Jo-Philipp Wich
<jow@openwrt.org>
Thu, 18 Mar 2010 17:00:23 +0000
(17:00 +0000)
committer
Jo-Philipp Wich
<jow@openwrt.org>
Thu, 18 Mar 2010 17:00:23 +0000
(17:00 +0000)
libs/cbi/luasrc/cbi.lua
patch
|
blob
|
history
diff --git
a/libs/cbi/luasrc/cbi.lua
b/libs/cbi/luasrc/cbi.lua
index c9db8beb255dd5e201ef29a92d5ad777ecf5879a..6eeef0f78757a755c89f8ea4f0d198de1e38bdad 100644
(file)
--- a/
libs/cbi/luasrc/cbi.lua
+++ b/
libs/cbi/luasrc/cbi.lua
@@
-173,7
+173,7
@@
local function _uvl_validate_section(node, name)
local function tag_section(e)
local s = { }
for _, c in ipairs(e.childs or { e }) do
- if c.childs and not c:is(
luci.uvl.errors.ERR_DEPENDENCY
) then
+ if c.childs and not c:is(
'DEPENDENCY'
) then
table.insert( s, c.childs[1]:string() )
else
table.insert( s, c:string() )