summaryrefslogtreecommitdiffstats
path: root/did-status-html.lsp
diff options
context:
space:
mode:
Diffstat (limited to 'did-status-html.lsp')
-rw-r--r--did-status-html.lsp2
1 files changed, 1 insertions, 1 deletions
diff --git a/did-status-html.lsp b/did-status-html.lsp
index 5ded042..470b26b 100644
--- a/did-status-html.lsp
+++ b/did-status-html.lsp
@@ -8,7 +8,7 @@ require("viewfunctions")
<DL>
<% local status
if viewlibrary and viewlibrary.dispatch_component then
- if session.permissions.postgresql and session.permissions.postgresql.status then
+ if viewlibrary.check_permission("postgresql/postgresql/status") then
status = viewlibrary.dispatch_component("postgresql/postgresql/status", nil, true)
end
end %>