From 5e0a2d4eea7e72c1fad5bf256c330d57e5475469 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. Signed-off-by: Owen Leonard Signed-off-by: Julian Maurice Signed-off-by: Katrin Fischer (cherry picked from commit c9f6a4981a69095029cf53a14fc799ed8581b196) Signed-off-by: Fridolin Somers --- 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.20.1