Bugfix 465. Bitte testen.
authorUdo Spallek <info@wissensvermittlung.com>
Thu, 28 Dec 2006 19:11:02 +0000 (19:11 +0000)
committerUdo Spallek <info@wissensvermittlung.com>
Thu, 28 Dec 2006 19:11:02 +0000 (19:11 +0000)
SL/IC.pm

index 6942c41..9706504 100644 (file)
--- a/SL/IC.pm
+++ b/SL/IC.pm
@@ -1851,8 +1851,11 @@ sub retrieve_accounts {
   $ref = $sth->fetchrow_hashref();
   $sth->finish();
   $dbh->disconnect();
-
-  return $main::lxdebug->leave_sub() unless ($ref);
+  
+  unless ($ref) {
+    $main::lxdebug->leave_sub();
+    return;
+  }
 
   $form->{"taxaccounts_$index"} = $ref->{"accno"};
   if ($form->{"taxaccounts"} !~ /$ref->{accno}/) {