From 2ee7cc2fa79f9c3fa4df102494ce2e6911bbe116 Mon Sep 17 00:00:00 2001 From: "Martin Helmling martin.helmling@octosoft.eu" Date: Wed, 11 Jan 2017 08:17:49 +0100 Subject: [PATCH] =?utf8?q?Banktransaction:=20Kontoauszug=20verbuchen=20?= =?utf8?q?=C3=BCberarbeitet(2)?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Korektere Initialisierung von Arrays --- SL/Controller/BankTransaction.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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}; -- 2.20.1