projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dc4f866
)
Bei Locking dasselbe DB-Handle verwenden
author
Bernd Blessmann
<bibi@online.de>
Sat, 6 Aug 2011 12:08:38 +0000
(14:08 +0200)
committer
Bernd Blessmann
<bibi@online.de>
Sat, 6 Aug 2011 12:08:38 +0000
(14:08 +0200)
Dasselbe Porblem wie beim commit
af281b3c71e26f85e07e44f5fe1b8b52bceb4b4e
SL/CT.pm
patch
|
blob
|
history
diff --git
a/SL/CT.pm
b/SL/CT.pm
index
b169482
..
467fb08
100644
(file)
--- a/
SL/CT.pm
+++ b/
SL/CT.pm
@@
-457,7
+457,7
@@
sub save_vendor {
$form->{taxzone_id} *= 1;
# connect to database
- my $dbh = $form->
dbconnect_noauto($myconfig)
;
+ my $dbh = $form->
get_standard_dbh
;
map( {
$form->{"cp_${_}"} = $form->{"selected_cp_${_}"}
@@
-652,7
+652,6
@@
sub save_vendor {
'always_valid' => 1);
my $rc = $dbh->commit();
- $dbh->disconnect();
$main::lxdebug->leave_sub();
return $rc;