From: Jo-Philipp Wich Date: Thu, 18 Mar 2010 17:00:23 +0000 (+0000) Subject: libs/cbi: change usage of uvl error api after r5861 X-Git-Tag: 0.10.0~819 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=e301256632f4f1a6763eff687aa8bfa40b9f2c59;p=oweals%2Fluci.git libs/cbi: change usage of uvl error api after r5861 --- diff --git a/libs/cbi/luasrc/cbi.lua b/libs/cbi/luasrc/cbi.lua index c9db8beb2..6eeef0f78 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() )