From b0fa559760a577edda4569106f60587573b4770a Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Wed, 3 Nov 2021 18:30:16 -0500 Subject: [PATCH] Fix product view page when user cannot view version history --- tailbone/templates/products/view.mako | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/tailbone/templates/products/view.mako b/tailbone/templates/products/view.mako index 08aa348a..0d0e4e5f 100644 --- a/tailbone/templates/products/view.mako +++ b/tailbone/templates/products/view.mako @@ -544,8 +544,12 @@ <%def name="modify_this_page_vars()"> ${parent.modify_this_page_vars()} - % if request.rattail_config.versioning_enabled() and master.has_perm('versions'): - - % endif + % endif +