diff options
Diffstat (limited to 'weblog-viewwatchlist-html.lsp')
-rw-r--r-- | weblog-viewwatchlist-html.lsp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/weblog-viewwatchlist-html.lsp b/weblog-viewwatchlist-html.lsp index ba7b88a..16fa298 100644 --- a/weblog-viewwatchlist-html.lsp +++ b/weblog-viewwatchlist-html.lsp @@ -39,7 +39,7 @@ <% end %> </DL> -<% if viewlibrary and viewlibrary.dispatch_component and session.permissions[page_info.controller].createwatchlistentry then +<% if viewlibrary and viewlibrary.dispatch_component and viewlibrary.check_permission("createwatchlistentry") then viewlibrary.dispatch_component("createwatchlistentry") end %> |