From aae59b54f5ac5429ffa1eaaeb2a2c950ac1c3680 Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Sat, 4 Nov 2023 23:46:39 +0000 Subject: [PATCH] Bug 34188: (QA follow-up) Fix different versions of system preference name: Force(d)LibrarySelection There were references to ForceLibrarySelection and ForceLibrarySelection (notice the additional d) in the patch. Standardized to: ForceLibrarySelection Signed-off-by: Katrin Fischer Signed-off-by: Tomas Cohen Arazi --- installer/data/mysql/atomicupdate/bug_34188.pl | 2 +- .../intranet-tmpl/prog/en/modules/admin/preferences/admin.pref | 2 +- koha-tmpl/intranet-tmpl/prog/en/modules/auth.tt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/installer/data/mysql/atomicupdate/bug_34188.pl b/installer/data/mysql/atomicupdate/bug_34188.pl index a38be9eace..587e0c1b9d 100755 --- a/installer/data/mysql/atomicupdate/bug_34188.pl +++ b/installer/data/mysql/atomicupdate/bug_34188.pl @@ -13,7 +13,7 @@ return { ); # sysprefs - say $out "Added new system preference 'ForcedLibrarySelection'"; + say $out "Added new system preference 'ForceLibrarySelection'"; }, }; diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/admin.pref b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/admin.pref index af54800354..84238d0e53 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/admin.pref +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/admin.pref @@ -139,7 +139,7 @@ Administration: 1: "Yes" 0: "No" - - - pref: ForcedLibrarySelection + - pref: ForceLibrarySelection choices: 1: "Force" 0: "Don't force" diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/auth.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/auth.tt index bc284e0191..243ba733ae 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/auth.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/auth.tt @@ -148,7 +148,7 @@ [% END %] - [% IF Koha.Preference('ForcedLibrarySelection') %] + [% IF Koha.Preference('ForceLibrarySelection') %] Required [% END %]