From 9a6344c7ee151676e9c0b083a69e98d5994d5cf0 Mon Sep 17 00:00:00 2001 From: Fridolin Somers Date: Thu, 21 Jan 2021 17:09:27 +0100 Subject: [PATCH] Bug 14004: Add OpacAdditionalStylesheet and opaclayoutstylesheet Signed-off-by: Owen Leonard Signed-off-by: Katrin Fischer Signed-off-by: Jonathan Druart (cherry picked from commit c009eeafed32f0da9ef3c81e5b3e748745c9f900) Signed-off-by: Fridolin Somers (cherry picked from commit 404155fbffd3b7052f7eae04a2d5e62a14a84eee) Signed-off-by: Andrew Fuerste-Henry --- C4/Auth.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C4/Auth.pm b/C4/Auth.pm index 48ab6ced82..cc7e2f8bb4 100644 --- a/C4/Auth.pm +++ b/C4/Auth.pm @@ -443,7 +443,7 @@ sub get_template_and_user { foreach my $syspref ( qw( OPACUserCSS OPACUserJS IntranetUserCSS IntranetUserJS ) ) { $ENV{"OVERRIDE_SYSPREF_$syspref"} = q{ } if $in->{'query'}->param("DISABLE_SYSPREF_$syspref"); } - foreach my $syspref ( qw( intranetcolorstylesheet intranetstylesheet ) ) { + foreach my $syspref ( qw( OpacAdditionalStylesheet opaclayoutstylesheet intranetcolorstylesheet intranetstylesheet ) ) { $ENV{"OVERRIDE_SYSPREF_$syspref"} = 0 if $in->{'query'}->param("DISABLE_SYSPREF_$syspref"); } -- 2.39.5