From 859bb20fac4f237f32fc20901e1b18752c3ea668 Mon Sep 17 00:00:00 2001 From: Indranil Das Gupta Date: Fri, 29 May 2015 04:23:24 +0530 Subject: [PATCH] (followup) correction of string comparison op the last followup commit had used '==' to compare the syspref string values - both, head and foot. corrects that to use 'eq' in both masthead.inc and opac-bottom.inc http://bugs.koha-community.org/show_bug.cgi?id=14252 --- koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc | 2 +- koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-bottom.inc | 2 +- 2 files 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 c8dff49..3e7b0b9 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc +++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc @@ -71,7 +71,7 @@
-[% IF ( Koha.Preference( 'OpacLangSelectorMode' ) == 'both' ) || ( Koha.Preference( 'OpacLangSelectorMode' ) == 'foot' ) %] +[% IF ( Koha.Preference( 'OpacLangSelectorMode' ) eq 'both' ) || ( Koha.Preference( 'OpacLangSelectorMode' ) eq 'foot' ) %] [% IF ( opaclanguagesdisplay ) %] [% IF ( languages_loop && opaclanguagesdisplay ) %] [% UNLESS ( one_language_enabled ) %] -- 1.9.1