X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/kivitendo-erp.git/blobdiff_plain/2387a1fccb259789836aa1a9da44528be4d63bec..70a063c3e5be7b3989c62f279d321a93d9e46801:/SL/IC.pm diff --git a/SL/IC.pm b/SL/IC.pm index 8988e1091..451638d4b 100644 --- a/SL/IC.pm +++ b/SL/IC.pm @@ -1853,7 +1853,7 @@ sub retrieve_accounts { $ref = $sth->fetchrow_hashref(); $sth->finish(); $dbh->disconnect(); - + unless ($ref) { $main::lxdebug->leave_sub(); return; @@ -1872,8 +1872,6 @@ sub retrieve_accounts { # " || taxaccounts_$index " . $form->{"taxaccounts_$index"} . # " || taxaccounts " . $form->{"taxaccounts"}); - $sth->finish(); - $main::lxdebug->leave_sub(); } 1;