Vorhandene Steuer speichern: richitge Anzahl von Bind-Variablen angeben
authorBernd Bleßmann <bernd@kivitendo-premium.de>
Tue, 1 Oct 2019 13:19:05 +0000 (15:19 +0200)
committerBernd Bleßmann <bernd@kivitendo-premium.de>
Tue, 1 Oct 2019 13:19:05 +0000 (15:19 +0200)
fix zu commit 543d78225ec609e9f67ecb1544e135ca88149234
"Spalte taxnumber aus Tabelle tax entfernt"

SL/AM.pm

index b5a283a..6302c24 100644 (file)
--- a/SL/AM.pm
+++ b/SL/AM.pm
@@ -1174,7 +1174,7 @@ sub _save_tax {
   $chart_categories .= 'E' if $form->{expense};
   $chart_categories .= 'C' if $form->{costs};
 
-  my @values = ($form->{taxkey}, $form->{taxdescription}, $form->{rate}, conv_i($form->{chart_id}), conv_i($form->{chart_id}), conv_i($form->{skonto_sales_chart_id}), conv_i($form->{skonto_purchase_chart_id}), $chart_categories);
+  my @values = ($form->{taxkey}, $form->{taxdescription}, $form->{rate}, conv_i($form->{chart_id}), conv_i($form->{skonto_sales_chart_id}), conv_i($form->{skonto_purchase_chart_id}), $chart_categories);
   if ($form->{id} ne "") {
     $query = qq|UPDATE tax SET
                   taxkey                   = ?,