X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/6826e7edeec9911b976fe54229f1e6275ee43c9e..ca12e8dfc4773aabc13818a0398e06e44028e2bc:/SL/Form.pm diff --git a/SL/Form.pm b/SL/Form.pm index 73a495a9a..a6b21e2e5 100644 --- a/SL/Form.pm +++ b/SL/Form.pm @@ -57,7 +57,7 @@ use List::Util qw(first max min sum); my $standard_dbh; -sub DESTROY { +END { if ($standard_dbh) { $standard_dbh->disconnect(); undef $standard_dbh; @@ -222,7 +222,7 @@ sub new { $self->{action} = lc $self->{action}; $self->{action} =~ s/( |-|,|\#)/_/g; - $self->{version} = "2.4.3"; + $self->{version} = "2.6.0 beta 1"; $main::lxdebug->leave_sub(); @@ -617,15 +617,15 @@ sub header { - + @@ -1119,9 +1119,7 @@ sub parse_template { map { $self->{"employee_${_}"} = $myconfig->{$_}; } qw(email tel fax name signature company address businessnumber co_ustid taxnumber duns); } - map({ $self->{"${_}"} = $myconfig->{$_}; } - qw(co_ustid)); - + map { $self->{"${_}"} = $myconfig->{$_}; } qw(co_ustid); $self->{copies} = 1 if (($self->{copies} *= 1) <= 0);