Bugzilla – Attachment 115740 Details for
Bug 27491
Rename system preference opaclanguages to OPACLanguages
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 27491: Fix t/Languages.t
Bug-27491-Fix-tLanguagest.patch (text/plain), 745 bytes, created by
Jonathan Druart
on 2021-01-25 09:52:45 UTC
(
hide
)
Description:
Bug 27491: Fix t/Languages.t
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2021-01-25 09:52:45 UTC
Size:
745 bytes
patch
obsolete
>From dc34170b622fc64e2820b936f5de4e4a185a6241 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Mon, 25 Jan 2021 10:52:02 +0100 >Subject: [PATCH] Bug 27491: Fix t/Languages.t > >--- > t/Languages.t | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/t/Languages.t b/t/Languages.t >index 22b7fbb2a1..6492ba4d0c 100755 >--- a/t/Languages.t >+++ b/t/Languages.t >@@ -38,7 +38,7 @@ $module_context->mock( > my ($self, $pref) = @_; > if ($return_undef) { > return; >- } elsif ($pref =~ /language/) { >+ } elsif ($pref eq 'language' || $pref eq 'OPACLanguages') { > return join ',', @languages; > } else { > return 'XXX'; >-- >2.20.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 27491
:
115638
|
115640
|
115648
| 115740