From 0fec6e205dc02504d436c1cc76a407086f907ace Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Wed, 19 Jun 2019 07:00:01 -0400 Subject: [PATCH] Bug 23103: (QA follow-up) Return undef implicitly Signed-off-by: Martin Renvoize Signed-off-by: Marcel de Rooy Signed-off-by: Martin Renvoize (cherry picked from commit 3bf26cfb934cb699839aabb136df09ea97c030bb) Signed-off-by: Fridolin Somers --- C4/Circulation.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C4/Circulation.pm b/C4/Circulation.pm index 773f5701da..84349d98cf 100644 --- a/C4/Circulation.pm +++ b/C4/Circulation.pm @@ -2421,7 +2421,7 @@ sub _FixAccountForLostAndReturned { return unless $accountline->borrowernumber; my $patron = Koha::Patrons->find( $accountline->borrowernumber ); - return undef unless $patron; # Patron has been deleted, nobody to credit the return to + return unless $patron; # Patron has been deleted, nobody to credit the return to my $account = $patron->account; -- 2.39.5