From 079b834a6728d41dd2c29acc6dbfb066a4707637 Mon Sep 17 00:00:00 2001 From: Udo Spallek Date: Thu, 28 Dec 2006 19:11:02 +0000 Subject: [PATCH] Bugfix 465. Bitte testen. --- SL/IC.pm | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/SL/IC.pm b/SL/IC.pm index 6942c41c8..970650439 100644 --- 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}/) { -- 2.20.1