From 221a40282c9fdd2d14488121d47e1529ec19cfc2 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Wed, 9 Sep 2020 14:23:41 +0200 Subject: [PATCH] Bug 20168: Consider opaclayoutstylesheet empty if 'opac.css' Signed-off-by: Jonathan Druart --- koha-tmpl/opac-tmpl/bootstrap/en/includes/doc-head-close.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/includes/doc-head-close.inc b/koha-tmpl/opac-tmpl/bootstrap/en/includes/doc-head-close.inc index f0e42039f6..f3c9d7c817 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/doc-head-close.inc +++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/doc-head-close.inc @@ -11,7 +11,7 @@ [% ELSE %] [% Asset.css("lib/jquery/jquery-ui-1.12.1.min.css") | $raw %] [% END %] -[% IF ( Koha.Preference('opaclayoutstylesheet') ) %] +[% IF ( Koha.Preference('opaclayoutstylesheet') && Koha.Preference('opaclayoutstylesheet') != "opac.css" ) %] [% SET opaclayoutstylesheet = Koha.Preference('opaclayoutstylesheet') %] [% ELSE %] [% IF ( bidi ) %] -- 2.39.5