From: Stephan Köhler Date: Thu, 26 Jan 2006 14:41:47 +0000 (+0000) Subject: Merge von 832 aus unstable: Bugfix X-Git-Tag: release-2.2.0~11 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=2794f75fd58d78a1229b7b0d62d5fcb958d241b9;p=kivitendo-erp.git Merge von 832 aus unstable: Bugfix save_customer und save_vendor hatten die falschen return-Werte --- 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 {