From: Sven Schöling Date: Fri, 29 May 2015 12:55:38 +0000 (+0200) Subject: BankTransactions: typo in deref X-Git-Tag: release-3.3.0beta~72 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=fa503e5aa3d09153e630967775ea3d52ecafc7e6;p=kivitendo-erp.git BankTransactions: typo in deref --- diff --git a/SL/Controller/BankTransaction.pm b/SL/Controller/BankTransaction.pm index 47089bdc9..30875038c 100644 --- a/SL/Controller/BankTransaction.pm +++ b/SL/Controller/BankTransaction.pm @@ -373,8 +373,8 @@ sub action_save_invoices { foreach my $invoice (@invoices) { my $payment_type; - if ( @$skonto_hash{"$bt_id"} ) { - $payment_type = shift( @$skonto_hash{"$bt_id"} ); + if (@{ $skonto_hash->{"$bt_id"} }) { + $payment_type = shift(@{ $skonto_hash->{"$bt_id"} }); } else { $payment_type = 'without_skonto'; };