Bug 20168: Consider opaclayoutstylesheet empty if 'opac.css'

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
Jonathan Druart 2020-09-09 14:23:41 +02:00
parent 00b1bf3c2c
commit 221a40282c

View file

@ -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 ) %]