From: Martin Helmling martin.helmling@octosoft.eu Date: Wed, 11 Jan 2017 07:17:49 +0000 (+0100) Subject: Banktransaction: Kontoauszug verbuchen überarbeitet(2) X-Git-Tag: release-3.5.4~1750 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=2ee7cc2fa79f9c3fa4df102494ce2e6911bbe116;p=kivitendo-erp.git Banktransaction: Kontoauszug verbuchen überarbeitet(2) Korektere Initialisierung von Arrays --- diff --git a/SL/Controller/BankTransaction.pm b/SL/Controller/BankTransaction.pm index 4bd488dce..3f96808f6 100644 --- a/SL/Controller/BankTransaction.pm +++ b/SL/Controller/BankTransaction.pm @@ -149,12 +149,12 @@ sub action_list { foreach my $bt (@{ $bank_transactions }) { ## 5 Stellen hinter dem Komma auf 2 Stellen reduzieren - @{$bt->{rule_matches}} = (); $bt->amount($bt->amount*1); $bt->invoice_amount($bt->invoice_amount*1); $main::lxdebug->message(LXDebug->DEBUG2(),"BT ".$bt->id." amount=".$bt->amount." invoice_amount=".$bt->invoice_amount." remote=". $bt->{remote_name}); - $bt->{proposals} = (); + $bt->{proposals} = []; + $bt->{rule_matches} = []; $bt->{remote_name} .= $bt->{remote_name_1} if $bt->{remote_name_1};