summaryrefslogtreecommitdiffhomepage
path: root/libs/cbi
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2010-03-18 17:00:23 +0000
committerJo-Philipp Wich <jow@openwrt.org>2010-03-18 17:00:23 +0000
commite301256632f4f1a6763eff687aa8bfa40b9f2c59 (patch)
treeed2820f615c0a037a46842ef8c1cd183b02170b1 /libs/cbi
parent3d426e48d4b9e55b9a8fdb7f873df3d5b7e5bba2 (diff)
libs/cbi: change usage of uvl error api after r5861
Diffstat (limited to 'libs/cbi')
-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 c9db8beb25..6eeef0f787 100644
--- 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() )