From: Moritz Bunkus Date: Thu, 7 May 2009 14:42:33 +0000 (+0000) Subject: Vereinfachung. X-Git-Tag: release-2.6.0beta2~2 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=40534aad33bbf6cfb7f1c32e6fea865ed3dd3d35;p=kivitendo-erp.git Vereinfachung. --- diff --git a/SL/Template.pm b/SL/Template.pm index c273d8f2d..d510ce11b 100644 --- a/SL/Template.pm +++ b/SL/Template.pm @@ -85,7 +85,7 @@ sub _get_loop_variable_value { my @indices = @_; my $form = $self->{form}; - my $value = $self->{form}->{$var}; + my $value = $form->{$var}; for (my $i = 0; $i < scalar(@indices); $i++) { last unless (ref($value) eq "ARRAY");