Bugzilla – Attachment 126490 Details for
Bug 24223
Convert OpacNav system preference to news block
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 24223: Get languages for OPAC
Bug-24223-Get-languages-for-OPAC.patch (text/plain), 1.40 KB, created by
Marcel de Rooy
on 2021-10-19 11:51:16 UTC
(
hide
)
Description:
Bug 24223: Get languages for OPAC
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2021-10-19 11:51:16 UTC
Size:
1.40 KB
patch
obsolete
>From 881ff3593733e14fec94e0e9438ee7c20a692903 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Wed, 13 Oct 2021 10:36:51 +0200 >Subject: [PATCH] Bug 24223: Get languages for OPAC >Content-Type: text/plain; charset=utf-8 > >There were 2 warnings > >Use of uninitialized value $interface in concatenation (.) or string at /kohadevbox/koha/C4/Languages.pm line 121. >Use of uninitialized value $theme in concatenation (.) or string at /kohadevbox/koha/C4/Languages.pm line 121. > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >--- > .../data/mysql/atomicupdate/bug_24223-move-opacnav-to-news.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/installer/data/mysql/atomicupdate/bug_24223-move-opacnav-to-news.pl b/installer/data/mysql/atomicupdate/bug_24223-move-opacnav-to-news.pl >index edbc55d8a5..e0673876d5 100755 >--- a/installer/data/mysql/atomicupdate/bug_24223-move-opacnav-to-news.pl >+++ b/installer/data/mysql/atomicupdate/bug_24223-move-opacnav-to-news.pl >@@ -10,7 +10,7 @@ return { > # get list of installed translations > require C4::Languages; > my @langs; >- my $tlangs = C4::Languages::getTranslatedLanguages(); >+ my $tlangs = C4::Languages::getTranslatedLanguages('opac','bootstrap'); > > foreach my $language ( @$tlangs ) { > foreach my $sublanguage ( @{$language->{'sublanguages_loop'}} ) { >-- >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 24223
:
104362
|
104364
|
104453
|
109856
|
110843
|
110853
|
110897
|
110898
|
113130
|
113131
|
113132
|
115758
|
115759
|
115760
|
124935
|
124936
|
124937
|
124938
|
125300
|
125301
|
125302
|
125303
|
125304
|
125767
|
125768
|
125769
|
125770
|
125771
|
126089
|
126147
|
126484
|
126485
|
126486
|
126487
|
126488
|
126489
|
126490
|
126491
|
126492
|
127338
|
127343
|
127344
|
127345
|
127346