Skip to content

Commit

Permalink
S:C:BankTransaction: nicht initialisierter Wert: Warnungen vermeiden
Browse files Browse the repository at this point in the history
  • Loading branch information
bblessmann committed Oct 16, 2023
1 parent 30cb1e2 commit 99d8b7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SL/Controller/BankTransaction.pm
Original file line number Diff line number Diff line change
Expand Up @@ -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';
}
Expand Down

0 comments on commit 99d8b7c

Please sign in to comment.