Commit 24141177 authored by Ted Trask's avatar Ted Trask

Use viewlibrary.check_permission from acf-core-0.9.0

parent 9ef19cda
......@@ -25,6 +25,6 @@
<% end %>
</TABLE></DL>
<% if viewlibrary.dispatch_component and session.permissions.ipsectools.uploadcert then
<% if viewlibrary.dispatch_component and viewlibrary.check_permission("uploadcert") then
viewlibrary.dispatch_component("uploadcert")
end %>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment