From 881ff3593733e14fec94e0e9438ee7c20a692903 Mon Sep 17 00:00:00 2001 From: Jonathan Druart 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 --- .../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