X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/53beea8bb782b8ddf13d291bb274cff31456dc21..87abbbadf9b628aff3c700fc77c8dd4e635cd48c:/SL/Form.pm?ds=inline diff --git a/SL/Form.pm b/SL/Form.pm index 381d8152d..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(); @@ -423,6 +423,7 @@ function fokus(){document.$self->{fokus}.focus();} $jsscript $ajax $fokus + @@ -663,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 @@ -1655,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 @@ -1754,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 @@ -1843,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 {