X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/37a84d92f0b0981aa6a8b9ec249baad97f4c0a5f..49b7cab6d1510010fac0345701ba8e46ea9b39a5:/SL/Template/Plugin/LxERP.pm diff --git a/SL/Template/Plugin/LxERP.pm b/SL/Template/Plugin/LxERP.pm index df6cb6ad6..8f3a9980d 100644 --- a/SL/Template/Plugin/LxERP.pm +++ b/SL/Template/Plugin/LxERP.pm @@ -109,7 +109,7 @@ sub abs { sub t8 { my ($self, $text, $args) = @_; $self->{locale} ||= Locale->new($::myconfig{countrycode}, 'all'); - return $self->{locale}->text($text, @{ $args || [] }); + return $self->{locale}->text($text, @args) || $text; } 1;