X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FForm.pm;h=916969e8dcdb7d823e6946194d9eceabb72b2adf;hb=7ec334735373f140fb8ab48d9cdbe8dedecd99d0;hp=2a04e15797c0ad4ebfbf5a1a48b329a6f04f4507;hpb=6a4c2859de9d57ed2157e6040cbbf7eaa53fa145;p=kivitendo-erp.git diff --git a/SL/Form.pm b/SL/Form.pm index 2a04e1579..916969e8d 100644 --- a/SL/Form.pm +++ b/SL/Form.pm @@ -146,7 +146,7 @@ sub new { $self->{action} = lc $self->{action}; $self->{action} =~ s/( |-|,|\#)/_/g; - $self->{version} = "2.3.9"; + $self->{version} = "2.4-RC1"; $main::lxdebug->leave_sub(); @@ -664,7 +664,7 @@ sub format_amount { $amount = $self->round_amount($amount, $places) if ($places =~ /\d/); my @d = map { s/\d//g; reverse split // } my $tmp = $myconfig->{numberformat}; # get delim chars - my @p = split /\./, $amount ; # split amount at decimal point + my @p = split(/\./, $amount); # split amount at decimal point $p[0] =~ s/\B(?=(...)*$)/$d[1]/g if $d[1]; # add 1,000 delimiters @@ -1656,7 +1656,7 @@ sub create_links { $self->{accounts} = ""; while (my $ref = $sth->fetchrow_hashref(NAME_lc)) { - foreach my $key (split /:/, $ref->{link}) { + foreach my $key (split(/:/, $ref->{link})) { if ($key =~ /$module/) { # cross reference for keys @@ -1755,7 +1755,7 @@ sub create_links { $self->{accounts} = ""; while (my $ref = $sth->fetchrow_hashref(NAME_lc)) { - foreach my $key (split /:/, $ref->{link}) { + foreach my $key (split(/:/, $ref->{link})) { if ($key =~ /$module/) { # cross reference for keys @@ -1844,7 +1844,7 @@ sub create_links { if ($self->{"$self->{vc}_id"}) { # only setup currency - ($self->{currency}) = split /:/, $self->{currencies}; + ($self->{currency}) = split(/:/, $self->{currencies}); } else {