summaryrefslogtreecommitdiffstats
path: root/rrdtool-expert-html.lsp
diff options
context:
space:
mode:
Diffstat (limited to 'rrdtool-expert-html.lsp')
-rw-r--r--rrdtool-expert-html.lsp2
1 files changed, 1 insertions, 1 deletions
diff --git a/rrdtool-expert-html.lsp b/rrdtool-expert-html.lsp
index 6cbb910..c983b88 100644
--- a/rrdtool-expert-html.lsp
+++ b/rrdtool-expert-html.lsp
@@ -20,6 +20,6 @@ local func = haserl.loadfile(page_info.viewfile:gsub(pattern..".*$", "/") .. "fi
func(form, viewlibrary, page_info, session)
%>
-<% if viewlibrary and viewlibrary.dispatch_component and session.permissions[page_info.controller].startstop then
+<% if viewlibrary and viewlibrary.dispatch_component and viewlibrary.check_permission("startstop") then
viewlibrary.dispatch_component("startstop")
end %>