Bug 24223: Get languages for OPAC
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> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
parent
1d0a023b6f
commit
b5b147df0a
|
|
@ -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'}} ) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue