From a149d6a052305127ba46ffef1477385b29c65007 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Tue, 22 Aug 2017 17:42:54 +0200 Subject: [PATCH] SL::DB::BankTransaction: Warnungen --- SL/DB/BankTransaction.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SL/DB/BankTransaction.pm b/SL/DB/BankTransaction.pm index 27e338c51..e4cf67cd3 100644 --- a/SL/DB/BankTransaction.pm +++ b/SL/DB/BankTransaction.pm @@ -48,7 +48,7 @@ sub linked_invoices { } sub is_batch_transaction { - $_[0]->transaction_code eq "191"; + ($_[0]->transaction_code // '') eq "191"; } -- 2.20.1