From b3a47a992c7c7918e0cf67d9d6c10d002ef2108f Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Tue, 15 Jul 2014 13:11:40 +0200 Subject: [PATCH] SL::Locale::String: @_ in neue Ref kopieren anstatt \@_ MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit ansonsten verschwinden aus irgend einem Grund alle Elemente außer dem ersten. --- SL/Locale/String.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SL/Locale/String.pm b/SL/Locale/String.pm index 54b4fa0cc..e05ae6abe 100644 --- a/SL/Locale/String.pm +++ b/SL/Locale/String.pm @@ -22,7 +22,7 @@ sub t8 { shift if $_[0] eq __PACKAGE__; my $string = shift; - return SL::Locale::String->new(untranslated => $string, args => \@_); + return SL::Locale::String->new(untranslated => $string, args => [ @_ ]); } sub TO_JSON { -- 2.20.1