From 168aba0715809751a4de9ab7c7baa3739a567a44 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 Content-Type: text/plain; charset=utf-8 Signed-off-by: Martin Renvoize Signed-off-by: Marcel de Rooy --- 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.11.0