X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/240ae2f560582963604106fe0ecbdd6052959f7f..e14cb525c640cb15bb6b2dfb62ccebbe78cb45cd:/SL/Template/Plugin/LxERP.pm diff --git a/SL/Template/Plugin/LxERP.pm b/SL/Template/Plugin/LxERP.pm index b36fcebee..40bf195f2 100644 --- a/SL/Template/Plugin/LxERP.pm +++ b/SL/Template/Plugin/LxERP.pm @@ -110,8 +110,7 @@ sub abs { sub t8 { my ($self, $text, @args) = @_; - $self->{locale} ||= Locale->new($::myconfig{countrycode}, 'all'); - return $self->{locale}->text($text, @args) || $text; + return $::locale->text($text, @args) || $text; } 1;