From c9d1e189e734c39ea171f35d318938ced2d8d490 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bernd=20Ble=C3=9Fmann?= Date: Fri, 22 Sep 2023 15:05:42 +0200 Subject: [PATCH] S:C:BankTransaction: nicht initialisierter Wert: Warnungen vermeiden --- SL/Controller/BankTransaction.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SL/Controller/BankTransaction.pm b/SL/Controller/BankTransaction.pm index fac98e206f..f4a58d19fc 100644 --- a/SL/Controller/BankTransaction.pm +++ b/SL/Controller/BankTransaction.pm @@ -669,7 +669,7 @@ sub save_single_bank_transaction { my ($payment_type, $free_skonto_amount); if ( defined $::form->{invoice_skontos}->{"$bt_id"} ) { - $payment_type = shift(@{ $::form->{invoice_skontos}->{"$bt_id"} }); + $payment_type = shift(@{ $::form->{invoice_skontos}->{"$bt_id"} }) || ''; } else { $payment_type = 'without_skonto'; }