summaryrefslogtreecommitdiffhomepage
path: root/libs/cbi
diff options
context:
space:
mode:
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 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