From: G. Richardson Date: Fri, 31 Jul 2015 08:00:31 +0000 (+0200) Subject: Locale - richtigen Filehandle für Menüübersetzungen benutzen X-Git-Tag: release-3.3.0beta~15 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=f775a0550981db9d84efaec164d1e141dd58b354;p=kivitendo-erp.git Locale - richtigen Filehandle für Menüübersetzungen benutzen --- diff --git a/SL/Locale.pm b/SL/Locale.pm index 4198a339b..25e804333 100644 --- a/SL/Locale.pm +++ b/SL/Locale.pm @@ -95,7 +95,7 @@ sub _init { for my $file (@files) { if (open my $in, "<", "locale/$country/more/$file") { local $/ = undef; - my $code = <$file>; + my $code = <$in>; eval($code); close($in); $self->{texts}{$_} = $self->{more_texts}{$_} for keys %{ $self->{more_texts} };