Merge branch 'master' of github.com:kivitendo/kivitendo-erp
[kivitendo-erp.git] / sql / Pg-upgrade2 / steuerfilterung.pl
index 498b20f..5fc8f32 100644 (file)
@@ -1,6 +1,6 @@
 # @tag: steuerfilterung
 # @description: Steuern in Dialogbuchungen filtern.
-# @depends: release_3_0_0
+# @depends: release_3_0_0 tax_constraints
 package SL::DBUpgrade2::steuerfilterung;
 
 use strict;
@@ -15,7 +15,7 @@ sub run {
   my $categories;
   my $tax_id;
 
-  if ( $::form->{'continued'} ) {
+  if ( $::form->{continued_tax} ) {
     my $update_query;
     foreach my $i (1 .. $::form->{rowcount}) {
       $tax_id = $::form->{"tax_id_$i"};