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