summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-lua-runtime/luasrc/template.lua
diff options
context:
space:
mode:
Diffstat (limited to 'modules/luci-lua-runtime/luasrc/template.lua')
-rw-r--r--modules/luci-lua-runtime/luasrc/template.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/luci-lua-runtime/luasrc/template.lua b/modules/luci-lua-runtime/luasrc/template.lua
index 84fb8bb338..b6b9af0bad 100644
--- a/modules/luci-lua-runtime/luasrc/template.lua
+++ b/modules/luci-lua-runtime/luasrc/template.lua
@@ -121,7 +121,7 @@ context.viewns = setmetatable({
elseif key == "resource" then
return L.config.main.resourcebase
else
- return rawget(tbl, key) or disp[key] or _G[key] or L[key]
+ return rawget(tbl, key) or _G[key] or L[key]
end
end})