X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/3624b119556731da41e4ad395491ebb067f26565..464f44a:/SL/Controller/BankTransaction.pm 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'; };