X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FAccTransCorrections.pm;h=2ecad9fb8f492cfa4e7ce71ea53c491678517795;hb=1d99e3e9537f75342a9f20f1e89a3e8cb4bb5444;hp=fff16f759e3489b0e18bfd52e771f51eaba58ebf;hpb=6b23fb212fb1cee6e1034601d3ceb22a182e50f0;p=kivitendo-erp.git diff --git a/SL/AccTransCorrections.pm b/SL/AccTransCorrections.pm index fff16f759..2ecad9fb8 100644 --- a/SL/AccTransCorrections.pm +++ b/SL/AccTransCorrections.pm @@ -779,7 +779,7 @@ sub fix_ap_ar_wrong_taxkeys { } if (scalar @corrections) { - SL::DB->with_transaction(sub { + SL::DB->client->with_transaction(sub { my $q_taxkey_only = qq|UPDATE acc_trans SET taxkey = ? WHERE acc_trans_id = ?|; my $h_taxkey_only = prepare_query($form, $dbh, $q_taxkey_only);