libs/cbi: change usage of uvl error api after r5861

This commit is contained in:
Jo-Philipp Wich 2010-03-18 17:00:23 +00:00
parent 3d426e48d4
commit e301256632

View file

@ -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() )