[Koha-bugs] [Bug 28773] Aquisitions from external source not working for non english language

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Jul 30 09:13:17 CEST 2021


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28773

--- Comment #9 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
WARNING: OUT OF SCOPE

Just strolling into I18N, I am seeing this:

sub _expand {
    my ($text, %vars) = @_;

    my $re = join '|', map { quotemeta $_ } keys %vars;
    $text =~ s/\{($re)\}/defined $vars{$1} ? $vars{$1} : "{$1}"/ge;

Can this be true?

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list