summaryrefslogtreecommitdiffhomepage
path: root/libs/cbi/luasrc
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2009-11-23 19:36:37 +0000
committerSteven Barth <steven@midlink.org>2009-11-23 19:36:37 +0000
commit1f83b916ac83eff03e582084dd99579689570360 (patch)
tree336e27f42f340c1f63a1b15c7f06cea7dbed30f4 /libs/cbi/luasrc
parent8b80a623c3526fa40d215f28f0a3cd1312edebea (diff)
NIU: Minor fixes
Diffstat (limited to 'libs/cbi/luasrc')
-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 c318e64b8..c9db8beb2 100644
--- a/libs/cbi/luasrc/cbi.lua
+++ b/libs/cbi/luasrc/cbi.lua
@@ -561,7 +561,7 @@ function Delegator.get(self, name)
local node = self.nodes[name]
if type(node) == "string" then
- node = load(node)
+ node = load(node, name)
end
if type(node) == "table" and getmetatable(node) == nil then