From d9da812ec45de6bed96f18ffa854e761ff03e331 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Tue, 27 Mar 2018 16:46:16 +0000 Subject: [PATCH] Bug 19892: (follow-up) Replace one more instance This patch replaces one more instance of [% IF ( numbersphr ) %]. To test, apply the patch and view the source of the OPAC home page. With the OPACNumbersPreferPhrase system preference set to 'use,' you should find this in the HTML source: With the preference set to 'don't use,' you should find this: Signed-off-by: Katrin Fischer Signed-off-by: Jonathan Druart --- koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc b/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc index fd37f6e93b..19633a3019 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc +++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc @@ -196,7 +196,7 @@ [% ELSE %] [% END # /ms_se %] - [% IF ( numbersphr ) %] + [% IF ( Koha.Preference('OPACNumbersPreferPhrase') ) %] [% IF ( ms_callnum ) %] [% ELSE %] @@ -208,7 +208,7 @@ [% ELSE %] [% END # /ms_callnum %] - [% END # /numbersphr %] + [% END # /IF OPACNumbersPreferPhrase %] [% UNLESS ( Koha.Preference( 'OpacAddMastheadLibraryPulldown' ) == 1 ) %] -- 2.39.5