X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/kivitendo-erp.git/blobdiff_plain/8d011bee4d01444862f49a083f9e47b2b07f0a9c..6eee850259ed40762406faecaa0cd302bcdf10c6:/SL/AccTransCorrections.pm 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',