X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/99065c25a9fbb661e02a3b99d213e70e8a830264..b2d2a98c959bad922eb12f74d849d1a6a153b336:/SL/Form.pm diff --git a/SL/Form.pm b/SL/Form.pm index 5a2ad9203..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;