X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/881cc20546b8445c3d8308e12ed54641c87ef12b..c7edb24800396748f2bf1e40ff05f90a18d31b02:/SL/User.pm diff --git a/SL/User.pm b/SL/User.pm index 88ea5b3f5..46fe85581 100644 --- a/SL/User.pm +++ b/SL/User.pm @@ -450,10 +450,7 @@ sub process_perl_script { map({ $dbup_myconfig{$_} = $form->{$_}; } qw(dbname dbuser dbpasswd dbhost dbport dbconnect)); - my $nls_file = $filename; - $nls_file =~ s|.*/||; - $nls_file =~ s|.pl$||; - my $dbup_locale = Locale->new($main::language, $nls_file); + my $dbup_locale = $::locale; my $result = eval($contents);