From 2794f75fd58d78a1229b7b0d62d5fcb958d241b9 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Stephan=20K=C3=B6hler?= Date: Thu, 26 Jan 2006 14:41:47 +0000 Subject: [PATCH] Merge von 832 aus unstable: Bugfix save_customer und save_vendor hatten die falschen return-Werte --- SL/CT.pm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/SL/CT.pm b/SL/CT.pm index a7b0a2f06..308a36e46 100644 --- a/SL/CT.pm +++ b/SL/CT.pm @@ -355,9 +355,10 @@ sub save_customer { # add shipto $form->add_shipto($dbh, $form->{id}); - $dbh->disconnect; + $rc = $dbh->disconnect; $main::lxdebug->leave_sub(); + return $rc; } sub save_vendor { @@ -488,9 +489,10 @@ sub save_vendor { # add shipto $form->add_shipto($dbh, $form->{id}); - $dbh->disconnect; + $rc = $dbh->disconnect; $main::lxdebug->leave_sub(); + return $rc; } sub delete { -- 2.20.1