summaryrefslogtreecommitdiffstats
path: root/zebra-welcome-html.lsp
diff options
context:
space:
mode:
Diffstat (limited to 'zebra-welcome-html.lsp')
-rw-r--r--zebra-welcome-html.lsp4
1 files changed, 2 insertions, 2 deletions
diff --git a/zebra-welcome-html.lsp b/zebra-welcome-html.lsp
index 3670b93..251c503 100644
--- a/zebra-welcome-html.lsp
+++ b/zebra-welcome-html.lsp
@@ -2,9 +2,9 @@
require("viewfunctions")
%>
-<% if viewlibrary and viewlibrary.dispatch_component and session.permissions[page_info.controller].status then
+<% if viewlibrary and viewlibrary.dispatch_component and viewlibrary.check_permission("status") then
viewlibrary.dispatch_component("status")
end %>
-<% if viewlibrary and viewlibrary.dispatch_component and session.permissions[page_info.controller].details then
+<% if viewlibrary and viewlibrary.dispatch_component and viewlibrary.check_permission("details") then
viewlibrary.dispatch_component("details")
end %>