From 3d4b722ac0f160b79d3367e8cd3e4729bf3e6141 Mon Sep 17 00:00:00 2001 From: Lucas Gass Date: Tue, 30 Jan 2024 20:38:15 +0000 Subject: [PATCH] Bug 35952: Remove unnecessary line for OpacSuppressionMessage To test: 1. Apply patch and restart all 2. Add an additional contetn entry for `OpacSuppressionMessage`, make sure it has a publication date in the past. 3. Make sure OpacSuppression is set to 'hide'. 4. Suppress a record in the OPAC, ( 942$n ) 5. Visit the detail page for that record and make sure you OpacSuppressionMessage customization displays. --- opac/opac-blocked.pl | 2 -- 1 file changed, 2 deletions(-) diff --git a/opac/opac-blocked.pl b/opac/opac-blocked.pl index 6fc1a04aa1..a604fefdbd 100755 --- a/opac/opac-blocked.pl +++ b/opac/opac-blocked.pl @@ -33,6 +33,4 @@ my ( $template, $borrowernumber, $cookie ) = get_template_and_user( } ); -$template->param ( OpacSuppressionMessage => C4::Context->preference('OpacSuppressionMessage')); - output_with_http_headers $query, $cookie, $template->output, 'html'; -- 2.30.2