summaryrefslogtreecommitdiffstats
path: root/tcpproxy-smtpstatus-html.lsp
diff options
context:
space:
mode:
Diffstat (limited to 'tcpproxy-smtpstatus-html.lsp')
-rw-r--r--tcpproxy-smtpstatus-html.lsp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tcpproxy-smtpstatus-html.lsp b/tcpproxy-smtpstatus-html.lsp
index 0e3384f..143c991 100644
--- a/tcpproxy-smtpstatus-html.lsp
+++ b/tcpproxy-smtpstatus-html.lsp
@@ -8,7 +8,7 @@ require("viewfunctions")
<H1>SMTP Proxy Status</H1>
<DL>
<% displayitem(view.value.version)
-if view.value.version and view.value.version.errtxt and session.permissions.apk and session.permissions.apk.install then
+if view.value.version and view.value.version.errtxt and viewlibrary.check_permission("apk-tools/apk/install") then
%>
<a href="<%= html.html_escape(page_info.script .. "/apk-tools/apk/install?package="..view.value.version.name) %>">Install</a>
<% end %>