X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FAccTransCorrections.pm;h=ea7ca531dfefd956a2233fca8045a6187374d09b;hb=17384c044b465c262772eb9737ea298069c4d826;hp=702cf29c0d15be837b31f34e8653b942ab06bb89;hpb=32fc2e889d08ec0bba083bdbde271e131357a829;p=kivitendo-erp.git diff --git a/SL/AccTransCorrections.pm b/SL/AccTransCorrections.pm index 702cf29c0..ea7ca531d 100644 --- a/SL/AccTransCorrections.pm +++ b/SL/AccTransCorrections.pm @@ -649,6 +649,8 @@ sub analyze { my @problems = @{ $self->{problems} }; + map { $self->{$_} ||= [] } qw(ap_ar_taxkey_problems invoice_inventory_taxkey_problems missing_taxkeys_in_invoices); + if (0 != scalar @{ $self->{ap_ar_taxkey_problems} }) { my $problem = { 'type' => 'ap_ar_wrong_taxkeys',