From 6ac8e77c2d6476b5ebd89d0ae39ef799efccf434 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 --- 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 184ea27859..f01513d9a6 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.14.1